#665AE7

Closest named color: Dark Periwinkle (#665FD1). oklch(56% 0.205 281.3), rgb(102, 90, 231).

Aa

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

About this color

#665AE7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.205 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.036 away. White text reads best on it, at 5.02:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.205)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.18:1
White text5.02:1

Values

HEX#665AE7
RGBrgb(102, 90, 231)
HSLhsl(245, 75%, 63%)
OKLCHoklch(56% 0.205 281.3)

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 #665AE7 5.02:1 AA Lc -79.6 Fine for body text
Black text on #665AE7 4.18:1 AA large text Lc 29.8 Dividers and decoration only
#665AE7 text on white 5.02:1 AA Lc 74.2 Content text, not long reading
#665AE7 text on black 4.18:1 AA large text Lc -27.5 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D3D6FB

    oklch(88.6% 0.051 281.6)

  4. Step 300

    300

    #B6BAFC

    oklch(80.9% 0.093 281.4)

  5. Step 400

    400

    #9293FA

    oklch(70.7% 0.149 281.5)

  6. Step 500

    500

    #7A75F7

    oklch(63.2% 0.189 281.3)

  7. Step 600

    600 (this color)

    #665AE7

    oklch(56% 0.205 281.3)

  8. Step 700

    700

    #5447C8

    oklch(49% 0.192 281.2)

  9. Step 800

    800

    #453CA1

    oklch(42.7% 0.157 281.4)

  10. Step 900

    900

    #393580

    oklch(37.8% 0.123 281.2)

  11. Step 950

    950

    #21204B

    oklch(27.1% 0.077 280.9)

Export this scale for Tailwind in the Tailwind colors tool

#665AE7 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)#0074EC0.089
Deuteranopia (no green cones)#006AE40.083
Tritanopia (no blue cones)#227C980.175
Achromatopsia (no color)#6F6F6F0.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #665AE7

    #665AE7

    oklch(56% 0.205 281.3)

  • #837600

    #837600

    oklch(56% 0.117 101.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #665AE7

    #665AE7

    oklch(56% 0.205 281.3)

  • #0076D0

    #0076D0

    oklch(56% 0.164 251.2)

  • #9B43CA

    #9B43CA

    oklch(56% 0.206 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #665AE7

    #665AE7

    oklch(56% 0.205 281.3)

  • #A06600

    #A06600

    oklch(56% 0.121 70.8)

  • #528500

    #528500

    oklch(55.9% 0.153 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #665AE7

    #665AE7

    oklch(56% 0.205 281.3)

  • #C24600

    #C24600

    oklch(55.9% 0.171 41.3)

  • #008A5C

    #008A5C

    oklch(55.9% 0.124 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #665AE7

    #665AE7

    oklch(56% 0.205 281.3)

  • #D02255

    #D02255

    oklch(56% 0.206 11.4)

  • #837600

    #837600

    oklch(56% 0.117 101.7)

  • #008682

    #008682

    oklch(56% 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 #665AE7, closest first.

Similar named colors

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

Use #665AE7 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.