#664BBE

Closest named color: Bluey Purple (#6241C7). oklch(50.4% 0.172 289.6), rgb(102, 75, 190).

Aa

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

About this color

#664BBE is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.172 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.027 away. White text reads best on it, at 6.33:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.172)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text3.31:1
White text6.33:1

Values

HEX#664BBE
RGBrgb(102, 75, 190)
HSLhsl(254, 47%, 52%)
OKLCHoklch(50.4% 0.172 289.6)

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 #664BBE 6.33:1 AA Lc -86.3 Fine for body text
Black text on #664BBE 3.31:1 AA large text Lc 22.9 Dividers and decoration only
#664BBE text on white 6.33:1 AA Lc 81.1 Fine for body text
#664BBE text on black 3.31:1 AA large text Lc -20.7 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 700.

  1. Step 50

    50

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F7

    oklch(88.6% 0.047 289.5)

  4. Step 300

    300

    #BFB8F4

    oklch(80.9% 0.084 289.7)

  5. Step 400

    400

    #9F91EE

    oklch(70.7% 0.134 289.4)

  6. Step 500

    500

    #8A73E8

    oklch(63.2% 0.17 289.7)

  7. Step 600

    600

    #7558D6

    oklch(55.6% 0.185 289.6)

  8. Step 700

    700 (this color)

    #664BBE

    oklch(50.4% 0.172 289.6)

  9. Step 800

    800

    #503B96

    oklch(42.6% 0.143 289.6)

  10. Step 900

    900

    #423478

    oklch(37.8% 0.112 289.4)

  11. Step 950

    950

    #261F46

    oklch(27% 0.07 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#664BBE 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)#0062C20.100
Deuteranopia (no green cones)#005DBC0.099
Tritanopia (no blue cones)#4A657D0.141
Achromatopsia (no color)#6060600.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #664BBE

    #664BBE

    oklch(50.4% 0.172 289.6)

  • #696900

    #696900

    oklch(50.4% 0.11 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664BBE

    #664BBE

    oklch(50.4% 0.172 289.6)

  • #1D5EC4

    #1D5EC4

    oklch(50.3% 0.172 259.6)

  • #8D3AA0

    #8D3AA0

    oklch(50.4% 0.172 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #664BBE

    #664BBE

    oklch(50.4% 0.172 289.6)

  • #845C00

    #845C00

    oklch(50.4% 0.105 79.1)

  • #257800

    #257800

    oklch(50.3% 0.16 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664BBE

    #664BBE

    oklch(50.4% 0.172 289.6)

  • #9E4800

    #9E4800

    oklch(50.4% 0.133 50)

  • #00765B

    #00765B

    oklch(50.3% 0.1 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664BBE

    #664BBE

    oklch(50.4% 0.172 289.6)

  • #B1283A

    #B1283A

    oklch(50.3% 0.172 19.3)

  • #696900

    #696900

    oklch(50.4% 0.11 109.8)

  • #007377

    #007377

    oklch(50.5% 0.086 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #664BBE 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.