#6664D8

Closest named color: Dark Periwinkle (#665FD1). oklch(56.6% 0.173 280.1), rgb(102, 100, 216).

Aa

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

About this color

#6664D8 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.173 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.015 away. White text reads best on it, at 4.79:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.173)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.37:1
White text4.79:1

Values

HEX#6664D8
RGBrgb(102, 100, 216)
HSLhsl(241, 60%, 62%)
OKLCHoklch(56.6% 0.173 280.1)

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 #6664D8 4.79:1 AA Lc -78.4 Fine for body text
Black text on #6664D8 4.37:1 AA large text Lc 31.1 Non-text elements, placeholder text
#6664D8 text on white 4.79:1 AA Lc 73.0 Content text, not long reading
#6664D8 text on black 4.37:1 AA large text Lc -28.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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D3D7F6

    oklch(88.6% 0.043 279.7)

  4. Step 300

    300

    #B6BCF3

    oklch(81% 0.078 279.7)

  5. Step 400

    400

    #9297ED

    oklch(70.7% 0.125 280.1)

  6. Step 500

    500

    #797BE7

    oklch(63.2% 0.159 280)

  7. Step 600

    600 (this color)

    #6664D8

    oklch(56.6% 0.173 280.1)

  8. Step 700

    700

    #534FB8

    oklch(49% 0.161 280.4)

  9. Step 800

    800

    #434295

    oklch(42.7% 0.133 279.7)

  10. Step 900

    900

    #383877

    oklch(37.6% 0.105 280.1)

  11. Step 950

    950

    #212246

    oklch(27.2% 0.066 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#6664D8 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)#1F77DC0.075
Deuteranopia (no green cones)#066ED60.078
Tritanopia (no blue cones)#347E940.150
Achromatopsia (no color)#7272720.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #6664D8

    #6664D8

    oklch(56.6% 0.173 280.1)

  • #877700

    #877700

    oklch(56.7% 0.118 99.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6664D8

    #6664D8

    oklch(56.6% 0.173 280.1)

  • #0078D0

    #0078D0

    oklch(56.5% 0.162 250.4)

  • #9552C0

    #9552C0

    oklch(56.6% 0.172 310.1)

Open the analogous palette in the generator

Split complementary

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

  • #6664D8

    #6664D8

    oklch(56.6% 0.173 280.1)

  • #A36700

    #A36700

    oklch(56.6% 0.122 70.1)

  • #578700

    #578700

    oklch(56.7% 0.153 130.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6664D8

    #6664D8

    oklch(56.6% 0.173 280.1)

  • #C6470A

    #C6470A

    oklch(56.7% 0.173 40.2)

  • #008C5C

    #008C5C

    oklch(56.5% 0.127 160.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6664D8

    #6664D8

    oklch(56.6% 0.173 280.1)

  • #C53D5E

    #C53D5E

    oklch(56.5% 0.173 10.2)

  • #877700

    #877700

    oklch(56.7% 0.118 99.9)

  • #008883

    #008883

    oklch(56.6% 0.098 190.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6664D8 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.