#664C8F

Closest named color: Twilight (#4E518B). oklch(47.4% 0.108 300.2), rgb(102, 76, 143).

Aa

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

About this color

#664C8F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 47%, its chroma 0.108 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.041 away. White text reads best on it, at 7.01:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.99:1
White text7.01:1

Values

HEX#664C8F
RGBrgb(102, 76, 143)
HSLhsl(263, 31%, 43%)
OKLCHoklch(47.4% 0.108 300.2)

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 #664C8F 7.01:1 AAA Lc -89.1 Fine for body text
Black text on #664C8F 2.99:1 Fails Lc 19.9 Dividers and decoration only
#664C8F text on white 7.01:1 AAA Lc 84.1 Fine for body text
#664C8F text on black 2.99:1 Fails Lc -17.8 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DCD5EA

    oklch(88.5% 0.029 301)

  4. Step 300

    300

    #C5BADE

    oklch(81% 0.051 299.2)

  5. Step 400

    400

    #A995CD

    oklch(70.7% 0.083 300.7)

  6. Step 500

    500

    #947AC0

    oklch(63.1% 0.106 300.5)

  7. Step 600

    600

    #7E62AD

    oklch(55.6% 0.116 299.8)

  8. Step 700

    700 (this color)

    #664C8F

    oklch(47.4% 0.108 300.2)

  9. Step 800

    800

    #574278

    oklch(42.6% 0.09 300.6)

  10. Step 900

    900

    #473861

    oklch(37.6% 0.07 299.9)

  11. Step 950

    950

    #2A2139

    oklch(27% 0.045 300.7)

Export this scale for Tailwind in the Tailwind colors tool

#664C8F 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)#3859910.071
Deuteranopia (no green cones)#3E598D0.066
Tritanopia (no blue cones)#5E58660.085
Achromatopsia (no color)#5959590.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #664C8F

    #664C8F

    oklch(47.4% 0.108 300.2)

  • #54640C

    #54640C

    oklch(47.3% 0.107 120.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664C8F

    #664C8F

    oklch(47.4% 0.108 300.2)

  • #455798

    #455798

    oklch(47.4% 0.107 270.2)

  • #7D4378

    #7D4378

    oklch(47.3% 0.108 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #664C8F

    #664C8F

    oklch(47.4% 0.108 300.2)

  • #715900

    #715900

    oklch(47.5% 0.097 90.5)

  • #236C3A

    #236C3A

    oklch(47.3% 0.107 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664C8F

    #664C8F

    oklch(47.4% 0.108 300.2)

  • #874B07

    #874B07

    oklch(47.5% 0.108 60.3)

  • #006B5E

    #006B5E

    oklch(47.3% 0.085 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664C8F

    #664C8F

    oklch(47.4% 0.108 300.2)

  • #8F4136

    #8F4136

    oklch(47.5% 0.108 29.8)

  • #54640C

    #54640C

    oklch(47.3% 0.107 120.3)

  • #006876

    #006876

    oklch(47.4% 0.082 210.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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