Color

Tailwind indigo-400

Tailwind indigo-400 (#7c86ff) is a medium vivid violet color. In OKLCH it has a lightness of 67%, a chroma of 0.177, and a hue of 276.9°.

#7c86ffTailwind indigo-400
HEX
#7c86ff
RGB
rgb(124 134 255)
HSL
hsl(235.4 100% 74.3%)
OKLCH
oklch(0.67 0.177 276.9)
Build a system from this color

Quick answer

  • Text on it: black, 6.71:1 (passes AA).
  • As text on white: large text only, 3.12:1. The closest version that passes is #6369e0.
  • Dark mode: keep it for text and links (6.32:1 on the dark page).
  • Closest Tailwind color: this is indigo-400.

About this color

Measured from the color itself, not written by hand.

Tailwind indigo-400 (#7c86ff) is a medium vivid violet color. In OKLCH it has a lightness of 67%, a chroma of 0.177, and a hue of 276.9°.

White text on it has a contrast ratio of 3.12:1 and black text 6.71:1, so black text is the readable choice. As text, it reaches 3.12:1 on white and 6.71:1 on black.

Tailwind CSS v4 · indigo-400

Tailwind CSS v4 defines this color as oklch(67.3% 0.182 276.935). ColorLint checks its sRGB value, which most screens show.

Text on this color

Which text colors pass on it, and at what sizes.

Good for, and what to avoid

Each use checked against WCAG 2.2, on white and on the dark page (#090a0e).

UseResultContrast
Button with white textLarge text only3.12:1, needs 4.5:1
Button with black textGood6.71:1, needs 4.5:1
Text or links on whiteLarge text only3.12:1, needs 4.5:1
Text or links on the dark pageGood6.32:1, needs 4.5:1
Border, icon, or focus ring on whiteGood3.12:1, needs 3:1
Border, icon, or focus ring on the dark pageGood6.32:1, needs 3:1

As a text color

The closest version of this color that passes AA for normal text.

In dark mode

From the dark theme ColorLint builds around this color, on a page of #090a0e.

  • Buttons: Tailwind indigo-400 stays as it is for buttons, with dark (#090a0e) label text at 6.32:1. Hover is #8e9aff and pressed is #a1adff.
  • Text and links: it works as it is: 6.32:1 on the page.
  • Focus ring: #7c86ff, 6.32:1 against the page (3:1 needed).

Shades from 50 to 950

An OKLCH scale built around this color by the same engine as the Scale Generator.

Harmonies

Hue offsets in OKLCH, keeping lightness and in-gamut chroma.

Color-blind simulation

How this color may look with four types of color vision deficiency.

  • Protanopia

    no red cones

    #4e97ffSimulation
  • Deuteranopia

    no green cones

    #408cfcSimulation
  • Tritanopia

    no blue cones

    #43a0b6Simulation
  • Achromatopsia

    no color vision

    #929292Simulation

Similar named colors

The nearest colors from the Tailwind, Material, and CSS lists.

Matching colors in other lists

  • Material Design (2014): the nearest to #7c86ff is blue-A200 (#448aff), and it is visibly different, so this list has no close match.
  • CSS color names: the nearest to #7c86ff is cornflowerblue (#6495ed), and it is visibly different, so this list has no close match.

Contrast pages for this color

Prepared contrast checks that use this color.

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible. 4 text pairs checked; 0 could not be judged.

How we check colors