#817FDB

Closest named color: Perrywinkle (#8F8CE7). oklch(63.9% 0.136 282.8), rgb(129, 127, 219).

Aa

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

About this color

#817FDB is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.136 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.042 away. Black text reads best on it, at 5.99:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text5.99:1
White text3.50:1

Values

HEX#817FDB
RGBrgb(129, 127, 219)
HSLhsl(241, 56%, 68%)
OKLCHoklch(63.9% 0.136 282.8)

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 #817FDB 3.50:1 AA large text Lc -68.0 Content text, not long reading
Black text on #817FDB 5.99:1 AA Lc 41.6 Non-text elements, placeholder text
#817FDB text on white 3.50:1 AA large text Lc 62.5 Content text, not long reading
#817FDB text on black 5.99:1 AA Lc -39.2 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F7

    oklch(93.7% 0.019 282.8)

  3. Step 200

    200

    #D5D7F2

    oklch(88.6% 0.037 282.2)

  4. Step 300

    300

    #BABCEB

    oklch(81% 0.066 282.9)

  5. Step 400

    400

    #9798E1

    oklch(70.7% 0.106 282.7)

  6. Step 500

    500 (this color)

    #817FDB

    oklch(63.9% 0.136 282.8)

  7. Step 600

    600

    #6964C6

    oklch(55.6% 0.148 282.8)

  8. Step 700

    700

    #5852AB

    oklch(49% 0.138 283.1)

  9. Step 800

    800

    #48448A

    oklch(42.7% 0.113 283.1)

  10. Step 900

    900

    #3C3A6F

    oklch(37.8% 0.089 283)

  11. Step 950

    950

    #232241

    oklch(27% 0.057 283.4)

Export this scale for Tailwind in the Tailwind colors tool

#817FDB 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)#5E8CDE0.051
Deuteranopia (no green cones)#5A86D90.050
Tritanopia (no blue cones)#6691A20.117
Achromatopsia (no color)#8989890.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #817FDB

    #817FDB

    oklch(63.9% 0.136 282.8)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817FDB

    #817FDB

    oklch(63.9% 0.136 282.8)

  • #498EDB

    #498EDB

    oklch(63.7% 0.136 252.9)

  • #A871C6

    #A871C6

    oklch(63.8% 0.136 312.8)

Open the analogous palette in the generator

Split complementary

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

  • #817FDB

    #817FDB

    oklch(63.9% 0.136 282.8)

  • #BD7C02

    #BD7C02

    oklch(63.8% 0.136 72.6)

  • #6A9D40

    #6A9D40

    oklch(63.9% 0.136 133.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817FDB

    #817FDB

    oklch(63.9% 0.136 282.8)

  • #CE6D43

    #CE6D43

    oklch(63.9% 0.135 43.2)

  • #0FA573

    #0FA573

    oklch(64% 0.136 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817FDB

    #817FDB

    oklch(63.9% 0.136 282.8)

  • #D06574

    #D06574

    oklch(63.8% 0.136 13)

  • #9B8E00

    #9B8E00

    oklch(63.8% 0.134 103)

  • #00A09E

    #00A09E

    oklch(63.8% 0.109 193.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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