#664A9D

Closest named color: Rebecca Purple (#663399). oklch(47.9% 0.13 296.8), rgb(102, 74, 157).

Aa

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

About this color

#664A9D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.130 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.052 away. White text reads best on it, at 6.92:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.03:1
White text6.92:1

Values

HEX#664A9D
RGBrgb(102, 74, 157)
HSLhsl(260, 36%, 45%)
OKLCHoklch(47.9% 0.13 296.8)

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 #664A9D 6.92:1 AA Lc -88.7 Fine for body text
Black text on #664A9D 3.03:1 AA large text Lc 20.3 Dividers and decoration only
#664A9D text on white 6.92:1 AA Lc 83.7 Fine for body text
#664A9D text on black 3.03:1 AA large text Lc -18.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

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EE

    oklch(88.5% 0.035 296.7)

  4. Step 300

    300

    #C4B9E5

    oklch(80.9% 0.062 296.4)

  5. Step 400

    400

    #A793D8

    oklch(70.7% 0.101 297.1)

  6. Step 500

    500

    #9277CE

    oklch(63.1% 0.13 296.8)

  7. Step 600

    600

    #7D5EBA

    oklch(55.5% 0.14 297.2)

  8. Step 700

    700 (this color)

    #664A9D

    oklch(47.9% 0.13 296.8)

  9. Step 800

    800

    #564082

    oklch(42.7% 0.107 297)

  10. Step 900

    900

    #463768

    oklch(37.7% 0.083 296.3)

  11. Step 950

    950

    #29203D

    oklch(26.9% 0.054 296.9)

Export this scale for Tailwind in the Tailwind colors tool

#664A9D 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)#2A5AA00.085
Deuteranopia (no green cones)#31599B0.080
Tritanopia (no blue cones)#5A5A6C0.102
Achromatopsia (no color)#5A5A5A0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #664A9D

    #664A9D

    oklch(47.9% 0.13 296.8)

  • #5A6500

    #5A6500

    oklch(48.1% 0.111 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664A9D

    #664A9D

    oklch(47.9% 0.13 296.8)

  • #3C58A6

    #3C58A6

    oklch(48% 0.13 266.7)

  • #823F83

    #823F83

    oklch(47.9% 0.129 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #664A9D

    #664A9D

    oklch(47.9% 0.13 296.8)

  • #755900

    #755900

    oklch(48% 0.098 87.3)

  • #18702C

    #18702C

    oklch(47.9% 0.131 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664A9D

    #664A9D

    oklch(47.9% 0.13 296.8)

  • #8D4900

    #8D4900

    oklch(48% 0.116 56.9)

  • #006D5C

    #006D5C

    oklch(47.8% 0.089 176.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664A9D

    #664A9D

    oklch(47.9% 0.13 296.8)

  • #993933

    #993933

    oklch(47.8% 0.13 26.7)

  • #5A6500

    #5A6500

    oklch(48.1% 0.111 116.9)

  • #006A75

    #006A75

    oklch(47.9% 0.082 207.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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