#664AFF

Closest named color: Purpley Blue (#5F34E7). oklch(55.6% 0.252 281.4), rgb(102, 74, 255).

Aa

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

About this color

#664AFF is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.252 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley Blue (#5F34E7), ΔE 0.056 away. White text reads best on it, at 5.26:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.252)
Temperaturecool
Nearest namePurpley Blue (#5F34E7)
Black text3.98:1
White text5.26:1

Values

HEX#664AFF
RGBrgb(102, 74, 255)
HSLhsl(249, 100%, 65%)
OKLCHoklch(55.6% 0.252 281.4)

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 #664AFF 5.26:1 AA Lc -80.7 Fine for body text
Black text on #664AFF 3.98:1 AA large text Lc 28.8 Dividers and decoration only
#664AFF text on white 5.26:1 AA Lc 75.3 Fine for body text
#664AFF text on black 3.98:1 AA large text Lc -26.4 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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B5B9FF

    oklch(80.8% 0.099 281.4)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7A71FF

    oklch(63.1% 0.204 281.7)

  7. Step 600

    600 (this color)

    #664AFF

    oklch(55.6% 0.252 281.4)

  8. Step 700

    700

    #5638DE

    oklch(49% 0.234 281.7)

  9. Step 800

    800

    #4531B4

    oklch(42.7% 0.195 281.2)

  10. Step 900

    900

    #392E8E

    oklch(37.7% 0.152 281.5)

  11. Step 950

    950

    #211C53

    oklch(26.9% 0.096 281.9)

Export this scale for Tailwind in the Tailwind colors tool

#664AFF 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)#0072FF0.101
Deuteranopia (no green cones)#0065FC0.089
Tritanopia (no blue cones)#007CA00.210
Achromatopsia (no color)#6C6C6C0.253

Harmonies

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

Complementary

The opposite hue (180°).

  • #664AFF

    #664AFF

    oklch(55.6% 0.252 281.4)

  • #827500

    #827500

    oklch(55.7% 0.116 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664AFF

    #664AFF

    oklch(55.6% 0.252 281.4)

  • #0075CF

    #0075CF

    oklch(55.8% 0.164 251.3)

  • #A228DB

    #A228DB

    oklch(55.6% 0.252 311.4)

Open the analogous palette in the generator

Split complementary

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

  • #664AFF

    #664AFF

    oklch(55.6% 0.252 281.4)

  • #9E6500

    #9E6500

    oklch(55.5% 0.12 71.1)

  • #518400

    #518400

    oklch(55.5% 0.153 131.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664AFF

    #664AFF

    oklch(55.6% 0.252 281.4)

  • #C14600

    #C14600

    oklch(55.7% 0.17 41.5)

  • #00895C

    #00895C

    oklch(55.7% 0.123 161.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #664AFF

    #664AFF

    oklch(55.6% 0.252 281.4)

  • #D50051

    #D50051

    oklch(55.7% 0.223 11.5)

  • #827500

    #827500

    oklch(55.7% 0.116 101.7)

  • #008581

    #008581

    oklch(55.7% 0.096 191.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #664AFF.

Similar named colors

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

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