#664FF8

Closest named color: Neon Blue (#4361EE). oklch(55.7% 0.239 281.5), rgb(102, 79, 248).

Aa

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

About this color

#664FF8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.239 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Neon Blue (#4361EE), ΔE 0.055 away. White text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.239)
Temperaturecool
Nearest nameNeon Blue (#4361EE)
Black text4.03:1
White text5.19:1

Values

HEX#664FF8
RGBrgb(102, 79, 248)
HSLhsl(248, 92%, 64%)
OKLCHoklch(55.7% 0.239 281.5)

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 #664FF8 5.19:1 AA Lc -80.4 Fine for body text
Black text on #664FF8 4.03:1 AA large text Lc 29.0 Dividers and decoration only
#664FF8 text on white 5.19:1 AA Lc 75.0 Fine for body text
#664FF8 text on black 4.03:1 AA large text Lc -26.7 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

    #9292FF

    oklch(70.8% 0.157 281.6)

  6. Step 500

    500

    #7A71FF

    oklch(63.1% 0.204 281.7)

  7. Step 600

    600 (this color)

    #664FF8

    oklch(55.7% 0.239 281.5)

  8. Step 700

    700

    #553DD8

    oklch(49% 0.223 281.4)

  9. Step 800

    800

    #4534AE

    oklch(42.6% 0.184 281.5)

  10. Step 900

    900

    #39308A

    oklch(37.7% 0.144 281.5)

  11. Step 950

    950

    #211D51

    oklch(27% 0.092 281.8)

Export this scale for Tailwind in the Tailwind colors tool

#664FF8 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)#0072FD0.097
Deuteranopia (no green cones)#0067F50.088
Tritanopia (no blue cones)#007C9E0.201
Achromatopsia (no color)#6D6D6D0.240

Harmonies

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

Complementary

The opposite hue (180°).

  • #664FF8

    #664FF8

    oklch(55.7% 0.239 281.5)

  • #827500

    #827500

    oklch(55.7% 0.116 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #664FF8

    #664FF8

    oklch(55.7% 0.239 281.5)

  • #0075CF

    #0075CF

    oklch(55.8% 0.164 251.3)

  • #A031D6

    #A031D6

    oklch(55.7% 0.239 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #664FF8

    #664FF8

    oklch(55.7% 0.239 281.5)

  • #9E6600

    #9E6600

    oklch(55.7% 0.119 71.9)

  • #518500

    #518500

    oklch(55.8% 0.154 131.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #664FF8

    #664FF8

    oklch(55.7% 0.239 281.5)

  • #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.

  • #664FF8

    #664FF8

    oklch(55.7% 0.239 281.5)

  • #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 #664FF8, closest first.

Similar named colors

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

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