#664FE1

Closest named color: Light Indigo (#6D5ACF). oklch(53.8% 0.211 283.9), rgb(102, 79, 225).

Aa

White text reads best on this color (5.56:1).

About this color

#664FE1 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.211 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Light Indigo (#6D5ACF), ΔE 0.040 away. White text reads best on it, at 5.56:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.211)
Temperaturecool
Nearest nameLight Indigo (#6D5ACF)
Black text3.77:1
White text5.56:1

Values

HEX#664FE1
RGBrgb(102, 79, 225)
HSLhsl(249, 71%, 60%)
OKLCHoklch(53.8% 0.211 283.9)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #664FE1 5.56:1 AA Lc -82.6 Fine for body text
Black text on #664FE1 3.77:1 AA large text Lc 26.8 Dividers and decoration only
#664FE1 text on white 5.56:1 AA Lc 77.3 Fine for body text
#664FE1 text on black 3.77:1 AA large text Lc -24.5 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E7E8FC

    oklch(93.6% 0.027 283.6)

  3. Step 200

    200

    #D4D5FC

    oklch(88.5% 0.053 284.1)

  4. Step 300

    300

    #B9B9FC

    oklch(81% 0.094 284.1)

  5. Step 400

    400

    #9691FB

    oklch(70.6% 0.152 283.9)

  6. Step 500

    500

    #7F72F8

    oklch(63.1% 0.193 283.8)

  7. Step 600

    600 (this color)

    #664FE1

    oklch(53.8% 0.211 283.9)

  8. Step 700

    700

    #5A44C9

    oklch(49.1% 0.196 284.1)

  9. Step 800

    800

    #4939A3

    oklch(42.7% 0.163 284)

  10. Step 900

    900

    #3C3381

    oklch(37.7% 0.127 283.8)

  11. Step 950

    950

    #231F4C

    oklch(27.1% 0.08 283.7)

Export this scale for Tailwind in the Tailwind colors tool

#664FE1 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#006CE60.096
Deuteranopia (no green cones)#0063DE0.091
Tritanopia (no blue cones)#2D74910.178
Achromatopsia (no color)#6868680.212

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #664FE1

    #664FE1

    oklch(53.8% 0.211 283.9)

  • #797000

    #797000

    oklch(53.6% 0.113 104)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664FE1

    #664FE1

    oklch(53.8% 0.211 283.9)

  • #006DCD

    #006DCD

    oklch(53.8% 0.17 253.8)

  • #9837C1

    #9837C1

    oklch(53.7% 0.211 313.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #664FE1

    #664FE1

    oklch(53.8% 0.211 283.9)

  • #956200

    #956200

    oklch(53.8% 0.114 73.7)

  • #458000

    #458000

    oklch(53.8% 0.154 134)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664FE1

    #664FE1

    oklch(53.8% 0.211 283.9)

  • #B44700

    #B44700

    oklch(53.8% 0.156 44.1)

  • #00825C

    #00825C

    oklch(53.7% 0.114 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664FE1

    #664FE1

    oklch(53.8% 0.211 283.9)

  • #CB0A47

    #CB0A47

    oklch(53.8% 0.212 14.1)

  • #797000

    #797000

    oklch(53.6% 0.113 104)

  • #007E7D

    #007E7D

    oklch(53.7% 0.092 193.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #664FE1, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #664FE1 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.