#817AFF

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

Aa

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

About this color

#817AFF is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.191 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.16:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.191)
Temperaturecool
Nearest namePeriwinkle (#8E82FE)
Black text6.16:1
White text3.40:1

Values

HEX#817AFF
RGBrgb(129, 122, 255)
HSLhsl(243, 100%, 74%)
OKLCHoklch(65.1% 0.191 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 #817AFF 3.40:1 AA large text Lc -66.8 Content text, not long reading
Black text on #817AFF 6.16:1 AA Lc 42.8 Non-text elements, placeholder text
#817AFF text on white 3.40:1 AA large text Lc 61.3 Content text, not long reading
#817AFF text on black 6.16:1 AA Lc -40.4 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

    #9393FB

    oklch(70.8% 0.15 281.9)

  6. Step 500

    500 (this color)

    #817AFF

    oklch(65.1% 0.191 282.1)

  7. Step 600

    600

    #6757E7

    oklch(55.6% 0.209 282.2)

  8. Step 700

    700

    #5646C9

    oklch(49.1% 0.194 282.1)

  9. Step 800

    800

    #463BA2

    oklch(42.7% 0.16 282.1)

  10. Step 900

    900

    #3A3481

    oklch(37.7% 0.125 282.1)

  11. Step 950

    950

    #221F4B

    oklch(27% 0.079 282.8)

Export this scale for Tailwind in the Tailwind colors tool

#817AFF 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)#3390FF0.087
Deuteranopia (no green cones)#2786FC0.088
Tritanopia (no blue cones)#5197B10.163
Achromatopsia (no color)#8B8B8B0.192

Harmonies

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

Complementary

The opposite hue (180°).

  • #817AFF

    #817AFF

    oklch(65.1% 0.191 282.1)

  • #A19200

    #A19200

    oklch(65.3% 0.137 102.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817AFF

    #817AFF

    oklch(65.1% 0.191 282.1)

  • #0D91FF

    #0D91FF

    oklch(65.2% 0.191 251.9)

  • #B666E2

    #B666E2

    oklch(65.2% 0.191 312)

Open the analogous palette in the generator

Split complementary

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

  • #817AFF

    #817AFF

    oklch(65.1% 0.191 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.

  • #817AFF

    #817AFF

    oklch(65.1% 0.191 282.1)

  • #EA5C0F

    #EA5C0F

    oklch(65.1% 0.191 42.2)

  • #00AA74

    #00AA74

    oklch(65.2% 0.143 161.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817AFF

    #817AFF

    oklch(65.1% 0.191 282.1)

  • #EC5070

    #EC5070

    oklch(65.2% 0.192 12.1)

  • #A19200

    #A19200

    oklch(65.3% 0.137 102.1)

  • #00A5A1

    #00A5A1

    oklch(65.2% 0.112 191.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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