#664BA3

Closest named color: Rebecca Purple (#663399). oklch(48.5% 0.137 294.9), rgb(102, 75, 163).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.137)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text3.10:1
White text6.77:1

Values

HEX#664BA3
RGBrgb(102, 75, 163)
HSLhsl(258, 37%, 47%)
OKLCHoklch(48.5% 0.137 294.9)

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 #664BA3 6.77:1 AA Lc -88.1 Fine for body text
Black text on #664BA3 3.10:1 AA large text Lc 20.9 Dividers and decoration only
#664BA3 text on white 6.77:1 AA Lc 83.1 Fine for body text
#664BA3 text on black 3.10:1 AA large text Lc -18.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

    #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

    #C3B9E8

    oklch(81% 0.066 294.6)

  5. Step 400

    400

    #A593DC

    oklch(70.7% 0.106 294.9)

  6. Step 500

    500

    #9077D2

    oklch(63.1% 0.135 294.9)

  7. Step 600

    600

    #7B5EBF

    oklch(55.6% 0.147 295)

  8. Step 700

    700 (this color)

    #664BA3

    oklch(48.5% 0.137 294.9)

  9. Step 800

    800

    #543F86

    oklch(42.6% 0.114 294.7)

  10. Step 900

    900

    #45366B

    oklch(37.6% 0.089 294.8)

  11. Step 950

    950

    #29203F

    oklch(27% 0.057 295.7)

Export this scale for Tailwind in the Tailwind colors tool

#664BA3 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)#265CA60.087
Deuteranopia (no green cones)#2D5AA10.082
Tritanopia (no blue cones)#575D700.109
Achromatopsia (no color)#5B5B5B0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #664BA3

    #664BA3

    oklch(48.5% 0.137 294.9)

  • #5E6600

    #5E6600

    oklch(48.7% 0.11 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664BA3

    #664BA3

    oklch(48.5% 0.137 294.9)

  • #385AAC

    #385AAC

    oklch(48.6% 0.137 264.8)

  • #843F89

    #843F89

    oklch(48.5% 0.136 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #664BA3

    #664BA3

    oklch(48.5% 0.137 294.9)

  • #795900

    #795900

    oklch(48.4% 0.099 84.2)

  • #1B7227

    #1B7227

    oklch(48.5% 0.137 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664BA3

    #664BA3

    oklch(48.5% 0.137 294.9)

  • #914900

    #914900

    oklch(48.6% 0.12 55.2)

  • #006F5C

    #006F5C

    oklch(48.4% 0.091 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664BA3

    #664BA3

    oklch(48.5% 0.137 294.9)

  • #9E3835

    #9E3835

    oklch(48.6% 0.137 25.3)

  • #5E6600

    #5E6600

    oklch(48.7% 0.11 115)

  • #006C75

    #006C75

    oklch(48.5% 0.083 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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