#817DBC

Closest named color: Deep Lilac (#966EBD). oklch(61.9% 0.094 286.2), rgb(129, 125, 188).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.094)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.59:1
White text3.75:1

Values

HEX#817DBC
RGBrgb(129, 125, 188)
HSLhsl(244, 32%, 61%)
OKLCHoklch(61.9% 0.094 286.2)

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 #817DBC 3.75:1 AA large text Lc -70.6 Content text, not long reading
Black text on #817DBC 5.59:1 AA Lc 39.0 Non-text elements, placeholder text
#817DBC text on white 3.75:1 AA large text Lc 65.1 Content text, not long reading
#817DBC text on black 5.59:1 AA Lc -36.6 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F3

    oklch(93.7% 0.013 286.1)

  3. Step 200

    200

    #D7D7EA

    oklch(88.5% 0.026 285.9)

  4. Step 300

    300

    #BDBDDE

    oklch(80.9% 0.046 285.3)

  5. Step 400

    400

    #9C9ACD

    oklch(70.6% 0.074 286.1)

  6. Step 500

    500 (this color)

    #817DBC

    oklch(61.9% 0.094 286.2)

  7. Step 600

    600

    #6F69AC

    oklch(55.5% 0.103 286.7)

  8. Step 700

    700

    #5D5894

    oklch(49.2% 0.095 286.2)

  9. Step 800

    800

    #4C4878

    oklch(42.8% 0.078 286.4)

  10. Step 900

    900

    #3F3C61

    oklch(37.6% 0.063 286.7)

  11. Step 950

    950

    #252439

    oklch(27.2% 0.039 285.7)

Export this scale for Tailwind in the Tailwind colors tool

#817DBC 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)#6B85BF0.034
Deuteranopia (no green cones)#6982BA0.035
Tritanopia (no blue cones)#7388940.080
Achromatopsia (no color)#8484840.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #817DBC

    #817DBC

    oklch(61.9% 0.094 286.2)

  • #8D8941

    #8D8941

    oklch(61.8% 0.094 106)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817DBC

    #817DBC

    oklch(61.9% 0.094 286.2)

  • #5F88BE

    #5F88BE

    oklch(61.9% 0.094 255.6)

  • #9C74AC

    #9C74AC

    oklch(61.9% 0.094 316)

Open the analogous palette in the generator

Split complementary

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

  • #817DBC

    #817DBC

    oklch(61.9% 0.094 286.2)

  • #A67E3F

    #A67E3F

    oklch(61.9% 0.095 76.8)

  • #6B9359

    #6B9359

    oklch(61.9% 0.095 136.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817DBC

    #817DBC

    oklch(61.9% 0.094 286.2)

  • #B57354

    #B57354

    oklch(61.9% 0.095 45.7)

  • #459879

    #459879

    oklch(61.9% 0.095 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817DBC

    #817DBC

    oklch(61.9% 0.094 286.2)

  • #B76D72

    #B76D72

    oklch(61.7% 0.094 15.8)

  • #8D8941

    #8D8941

    oklch(61.8% 0.094 106)

  • #2A9798

    #2A9798

    oklch(61.8% 0.094 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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