#664AD7

Closest named color: Bluey Purple (#6241C7). oklch(52.2% 0.205 286), rgb(102, 74, 215).

Aa

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

About this color

#664AD7 is a medium-dark, vivid purple. In OKLCH its lightness is 52%, its chroma 0.205 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.032 away. White text reads best on it, at 5.95:1.

Hue familyPurples
Lightnessmedium-dark (52%)
Chromavivid (0.205)
Temperaturecool
Nearest nameBluey Purple (#6241C7)
Black text3.52:1
White text5.95:1

Values

HEX#664AD7
RGBrgb(102, 74, 215)
HSLhsl(252, 64%, 57%)
OKLCHoklch(52.2% 0.205 286)

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 #664AD7 5.95:1 AA Lc -84.4 Fine for body text
Black text on #664AD7 3.52:1 AA large text Lc 24.9 Dividers and decoration only
#664AD7 text on white 5.95:1 AA Lc 79.2 Fine for body text
#664AD7 text on black 3.52:1 AA large text Lc -22.6 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FD

    oklch(93.7% 0.028 285.8)

  3. Step 200

    200

    #D5D5FD

    oklch(88.6% 0.055 285.2)

  4. Step 300

    300

    #BBB7FE

    oklch(80.8% 0.1 286.5)

  5. Step 400

    400

    #9A8FFE

    oklch(70.8% 0.159 286.1)

  6. Step 500

    500

    #846EFC

    oklch(63.1% 0.203 286.1)

  7. Step 600

    600

    #7051EB

    oklch(55.7% 0.22 286.1)

  8. Step 700

    700 (this color)

    #664AD7

    oklch(52.2% 0.205 286)

  9. Step 800

    800

    #4C36A5

    oklch(42.7% 0.169 285.8)

  10. Step 900

    900

    #3F3183

    oklch(37.8% 0.132 286.1)

  11. Step 950

    950

    #241D4D

    oklch(26.9% 0.085 285.8)

Export this scale for Tailwind in the Tailwind colors tool

#664AD7 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)#0067DB0.100
Deuteranopia (no green cones)#005FD40.096
Tritanopia (no blue cones)#386D8A0.170
Achromatopsia (no color)#6464640.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #664AD7

    #664AD7

    oklch(52.2% 0.205 286)

  • #726D00

    #726D00

    oklch(52.2% 0.112 106.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664AD7

    #664AD7

    oklch(52.2% 0.205 286)

  • #0066CD

    #0066CD

    oklch(52.3% 0.178 256)

  • #9533B6

    #9533B6

    oklch(52.1% 0.205 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #664AD7

    #664AD7

    oklch(52.2% 0.205 286)

  • #8D5F00

    #8D5F00

    oklch(52.2% 0.11 76)

  • #3A7C00

    #3A7C00

    oklch(52.2% 0.155 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664AD7

    #664AD7

    oklch(52.2% 0.205 286)

  • #AA4700

    #AA4700

    oklch(52.1% 0.146 46.2)

  • #007D5B

    #007D5B

    oklch(52.3% 0.109 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664AD7

    #664AD7

    oklch(52.2% 0.205 286)

  • #C30A3F

    #C30A3F

    oklch(52.2% 0.205 15.9)

  • #726D00

    #726D00

    oklch(52.2% 0.112 106.5)

  • #00797A

    #00797A

    oklch(52.2% 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 #664AD7, closest first.

Similar named colors

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

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