#664CA5

Closest named color: Iris (#6258C4). oklch(48.8% 0.138 294.2), rgb(102, 76, 165).

Aa

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

About this color

#664CA5 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.138 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.054 away. White text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameIris (#6258C4)
Black text3.14:1
White text6.68:1

Values

HEX#664CA5
RGBrgb(102, 76, 165)
HSLhsl(258, 37%, 47%)
OKLCHoklch(48.8% 0.138 294.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 #664CA5 6.68:1 AA Lc -87.8 Fine for body text
Black text on #664CA5 3.14:1 AA large text Lc 21.3 Dividers and decoration only
#664CA5 text on white 6.68:1 AA Lc 82.8 Fine for body text
#664CA5 text on black 3.14:1 AA large text Lc -19.2 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F0

    oklch(88.5% 0.037 294.1)

  4. Step 300

    300

    #C2B9E8

    oklch(80.9% 0.066 293.6)

  5. Step 400

    400

    #A493DD

    oklch(70.6% 0.108 294)

  6. Step 500

    500

    #8F77D3

    oklch(63.1% 0.136 294.2)

  7. Step 600

    600

    #7A5EC0

    oklch(55.6% 0.148 294.3)

  8. Step 700

    700 (this color)

    #664CA5

    oklch(48.8% 0.138 294.2)

  9. Step 800

    800

    #543F86

    oklch(42.6% 0.114 294.7)

  10. Step 900

    900

    #45376C

    oklch(37.8% 0.089 293.9)

  11. Step 950

    950

    #28203F

    oklch(26.9% 0.057 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#664CA5 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)#265DA80.086
Deuteranopia (no green cones)#2C5BA30.082
Tritanopia (no blue cones)#565E710.110
Achromatopsia (no color)#5C5C5C0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #664CA5

    #664CA5

    oklch(48.8% 0.138 294.2)

  • #5F6600

    #5F6600

    oklch(48.7% 0.11 114.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664CA5

    #664CA5

    oklch(48.8% 0.138 294.2)

  • #375BAD

    #375BAD

    oklch(48.9% 0.137 264.1)

  • #85408B

    #85408B

    oklch(48.9% 0.137 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #664CA5

    #664CA5

    oklch(48.8% 0.138 294.2)

  • #7A5A00

    #7A5A00

    oklch(48.8% 0.1 84.4)

  • #1F7325

    #1F7325

    oklch(48.9% 0.138 144.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664CA5

    #664CA5

    oklch(48.8% 0.138 294.2)

  • #934900

    #934900

    oklch(48.9% 0.122 54.4)

  • #00715C

    #00715C

    oklch(48.9% 0.093 173.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664CA5

    #664CA5

    oklch(48.8% 0.138 294.2)

  • #9F3837

    #9F3837

    oklch(48.8% 0.137 24.2)

  • #5F6600

    #5F6600

    oklch(48.7% 0.11 114.4)

  • #006D76

    #006D76

    oklch(48.8% 0.083 204.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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