#817DBF

Closest named color: Deep Lilac (#966EBD). oklch(62% 0.099 285.9), rgb(129, 125, 191).

Aa

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

About this color

#817DBF is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.099 and its hue 286°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.047 away. Black text reads best on it, at 5.61:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.61:1
White text3.73:1

Values

HEX#817DBF
RGBrgb(129, 125, 191)
HSLhsl(244, 34%, 62%)
OKLCHoklch(62% 0.099 285.9)

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 #817DBF 3.73:1 AA large text Lc -70.4 Content text, not long reading
Black text on #817DBF 5.61:1 AA Lc 39.2 Non-text elements, placeholder text
#817DBF text on white 3.73:1 AA large text Lc 64.9 Content text, not long reading
#817DBF text on black 5.61:1 AA Lc -36.8 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EB

    oklch(88.5% 0.027 285.8)

  4. Step 300

    300

    #BDBDDF

    oklch(80.9% 0.048 285.3)

  5. Step 400

    400

    #9C9ACF

    oklch(70.7% 0.077 286)

  6. Step 500

    500 (this color)

    #817DBF

    oklch(62% 0.099 285.9)

  7. Step 600

    600

    #6E69AF

    oklch(55.6% 0.107 285.6)

  8. Step 700

    700

    #5C5796

    oklch(49% 0.099 285.7)

  9. Step 800

    800

    #4B477A

    oklch(42.6% 0.083 285.9)

  10. Step 900

    900

    #3F3C62

    oklch(37.7% 0.064 286.5)

  11. Step 950

    950

    #25233A

    oklch(27% 0.042 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#817DBF 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)#6986C20.037
Deuteranopia (no green cones)#6882BD0.036
Tritanopia (no blue cones)#7289950.085
Achromatopsia (no color)#8484840.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #817DBF

    #817DBF

    oklch(62% 0.099 285.9)

  • #8E8A3D

    #8E8A3D

    oklch(62.1% 0.099 106.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817DBF

    #817DBF

    oklch(62% 0.099 285.9)

  • #5D88C1

    #5D88C1

    oklch(62% 0.099 255.8)

  • #9D73AE

    #9D73AE

    oklch(61.9% 0.099 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #817DBF

    #817DBF

    oklch(62% 0.099 285.9)

  • #A87D3B

    #A87D3B

    oklch(61.9% 0.099 75.8)

  • #6B9457

    #6B9457

    oklch(62.1% 0.098 136)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817DBF

    #817DBF

    oklch(62% 0.099 285.9)

  • #B77252

    #B77252

    oklch(61.9% 0.099 45.3)

  • #419978

    #419978

    oklch(62% 0.099 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817DBF

    #817DBF

    oklch(62% 0.099 285.9)

  • #BA6D72

    #BA6D72

    oklch(62.1% 0.098 16.1)

  • #8E8A3D

    #8E8A3D

    oklch(62.1% 0.099 106.2)

  • #219899

    #219899

    oklch(61.9% 0.098 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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