#664FD1

Closest named color: Slate Blue (#6A5ACD). oklch(52.5% 0.191 285.9), rgb(102, 79, 209).

Aa

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

About this color

#664FD1 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.191 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Slate Blue (#6A5ACD), ΔE 0.027 away. White text reads best on it, at 5.82:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.191)
Temperaturecool
Nearest nameSlate Blue (#6A5ACD)
Black text3.60:1
White text5.82:1

Values

HEX#664FD1
RGBrgb(102, 79, 209)
HSLhsl(251, 59%, 56%)
OKLCHoklch(52.5% 0.191 285.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 #664FD1 5.82:1 AA Lc -83.9 Fine for body text
Black text on #664FD1 3.60:1 AA large text Lc 25.4 Dividers and decoration only
#664FD1 text on white 5.82:1 AA Lc 78.7 Fine for body text
#664FD1 text on black 3.60:1 AA large text Lc -23.1 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 600.

  1. Step 50

    50

    #F4F4FD

    oklch(97% 0.012 286.2)

  2. Step 100

    100

    #E8E8FA

    oklch(93.6% 0.024 285.9)

  3. Step 200

    200

    #D6D5F8

    oklch(88.5% 0.048 286.7)

  4. Step 300

    300

    #BBB9F6

    oklch(80.9% 0.086 285.8)

  5. Step 400

    400

    #9A92F2

    oklch(70.7% 0.138 286.1)

  6. Step 500

    500

    #8374ED

    oklch(63.1% 0.176 285.9)

  7. Step 600

    600 (this color)

    #664FD1

    oklch(52.5% 0.191 285.9)

  8. Step 700

    700

    #5D48BF

    oklch(49.2% 0.178 285.9)

  9. Step 800

    800

    #4B3C9A

    oklch(42.7% 0.147 285.6)

  10. Step 900

    900

    #3E347B

    oklch(37.6% 0.116 285.8)

  11. Step 950

    950

    #241F48

    oklch(26.9% 0.074 285.9)

Export this scale for Tailwind in the Tailwind colors tool

#664FD1 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)#0069D50.097
Deuteranopia (no green cones)#0061CE0.093
Tritanopia (no blue cones)#3D6E890.158
Achromatopsia (no color)#6565650.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #664FD1

    #664FD1

    oklch(52.5% 0.191 285.9)

  • #736D00

    #736D00

    oklch(52.3% 0.112 105.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664FD1

    #664FD1

    oklch(52.5% 0.191 285.9)

  • #0067CE

    #0067CE

    oklch(52.6% 0.178 255.8)

  • #933BB3

    #933BB3

    oklch(52.5% 0.191 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #664FD1

    #664FD1

    oklch(52.5% 0.191 285.9)

  • #8E6000

    #8E6000

    oklch(52.5% 0.11 76.2)

  • #3B7D00

    #3B7D00

    oklch(52.5% 0.156 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664FD1

    #664FD1

    oklch(52.5% 0.191 285.9)

  • #AC4700

    #AC4700

    oklch(52.5% 0.148 45.7)

  • #007E5B

    #007E5B

    oklch(52.6% 0.11 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664FD1

    #664FD1

    oklch(52.5% 0.191 285.9)

  • #BF2043

    #BF2043

    oklch(52.4% 0.191 15.9)

  • #736D00

    #736D00

    oklch(52.3% 0.112 105.9)

  • #007A7B

    #007A7B

    oklch(52.5% 0.089 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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