#664AAC

Closest named color: Iris (#6258C4). oklch(48.9% 0.15 293.2), rgb(102, 74, 172).

Aa

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

About this color

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

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

Values

HEX#664AAC
RGBrgb(102, 74, 172)
HSLhsl(257, 40%, 48%)
OKLCHoklch(48.9% 0.15 293.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 #664AAC 6.68:1 AA Lc -87.8 Fine for body text
Black text on #664AAC 3.14:1 AA large text Lc 21.3 Dividers and decoration only
#664AAC text on white 6.68:1 AA Lc 82.7 Fine for body text
#664AAC 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #DAD5F2

    oklch(88.6% 0.04 293.5)

  4. Step 300

    300

    #C2B8EC

    oklch(80.8% 0.073 293.5)

  5. Step 400

    400

    #A492E2

    oklch(70.7% 0.116 293.5)

  6. Step 500

    500

    #8E75DA

    oklch(63% 0.149 293)

  7. Step 600

    600

    #795BC8

    oklch(55.5% 0.163 293)

  8. Step 700

    700 (this color)

    #664AAC

    oklch(48.9% 0.15 293.2)

  9. Step 800

    800

    #533E8C

    oklch(42.7% 0.124 292.8)

  10. Step 900

    900

    #453570

    oklch(37.7% 0.098 293.6)

  11. Step 950

    950

    #282041

    oklch(27% 0.06 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#664AAC 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)#165DAF0.096
Deuteranopia (no green cones)#1F5AAA0.091
Tritanopia (no blue cones)#545F740.120
Achromatopsia (no color)#5C5C5C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #664AAC

    #664AAC

    oklch(48.9% 0.15 293.2)

  • #616600

    #616600

    oklch(48.9% 0.109 113.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664AAC

    #664AAC

    oklch(48.9% 0.15 293.2)

  • #315AB4

    #315AB4

    oklch(48.9% 0.15 263.4)

  • #873C90

    #873C90

    oklch(48.9% 0.15 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #664AAC

    #664AAC

    oklch(48.9% 0.15 293.2)

  • #7C5A00

    #7C5A00

    oklch(49% 0.101 82.9)

  • #16741A

    #16741A

    oklch(48.9% 0.15 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664AAC

    #664AAC

    oklch(48.9% 0.15 293.2)

  • #944800

    #944800

    oklch(48.9% 0.124 53.3)

  • #00715B

    #00715B

    oklch(48.9% 0.094 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664AAC

    #664AAC

    oklch(48.9% 0.15 293.2)

  • #A43235

    #A43235

    oklch(48.9% 0.15 23.2)

  • #616600

    #616600

    oklch(48.9% 0.109 113.1)

  • #006E75

    #006E75

    oklch(49% 0.083 202.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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