#817AFE

Closest named color: Periwinkle (#8E82FE). oklch(65.1% 0.19 282.1), rgb(129, 122, 254).

Aa

Black text reads best on this color (6.14:1).

About this color

#817AFE is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.190 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Periwinkle (#8E82FE), ΔE 0.029 away. Black text reads best on it, at 6.14:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.190)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.14:1
White text3.41:1

Values

HEX#817AFE
RGBrgb(129, 122, 254)
HSLhsl(243, 99%, 74%)
OKLCHoklch(65.1% 0.19 282.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 #817AFE 3.41:1 AA large text Lc -66.8 Content text, not long reading
Black text on #817AFE 6.14:1 AA Lc 42.7 Non-text elements, placeholder text
#817AFE text on white 3.41:1 AA large text Lc 61.4 Content text, not long reading
#817AFE text on black 6.14:1 AA Lc -40.3 Non-text elements, placeholder text

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 500.

  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

    #B7BAFC

    oklch(81% 0.093 282.1)

  5. Step 400

    400

    #9393FA

    oklch(70.7% 0.148 281.9)

  6. Step 500

    500 (this color)

    #817AFE

    oklch(65.1% 0.19 282.1)

  7. Step 600

    600

    #6758E6

    oklch(55.6% 0.206 282.1)

  8. Step 700

    700

    #5647C8

    oklch(49.2% 0.192 282)

  9. Step 800

    800

    #463BA2

    oklch(42.7% 0.16 282.1)

  10. Step 900

    900

    #3A3480

    oklch(37.7% 0.124 282.2)

  11. Step 950

    950

    #221F4B

    oklch(27% 0.079 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#817AFE 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)#358FFF0.085
Deuteranopia (no green cones)#2986FB0.087
Tritanopia (no blue cones)#5297B00.163
Achromatopsia (no color)#8B8B8B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #817AFE

    #817AFE

    oklch(65.1% 0.19 282.1)

  • #A09100

    #A09100

    oklch(65% 0.136 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817AFE

    #817AFE

    oklch(65.1% 0.19 282.1)

  • #1190FE

    #1190FE

    oklch(65% 0.191 252.2)

  • #B666E1

    #B666E1

    oklch(65.1% 0.19 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #817AFE

    #817AFE

    oklch(65.1% 0.19 282.1)

  • #C37F00

    #C37F00

    oklch(65.1% 0.14 72)

  • #63A500

    #63A500

    oklch(65.2% 0.181 132.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817AFE

    #817AFE

    oklch(65.1% 0.19 282.1)

  • #EA5C11

    #EA5C11

    oklch(65.1% 0.191 42)

  • #00A974

    #00A974

    oklch(65% 0.142 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817AFE

    #817AFE

    oklch(65.1% 0.19 282.1)

  • #EB5070

    #EB5070

    oklch(65.1% 0.191 11.9)

  • #A09100

    #A09100

    oklch(65% 0.136 102.1)

  • #00A4A1

    #00A4A1

    oklch(65% 0.111 192.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #817AFE.

Similar named colors

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

Use #817AFE 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.