#815DEF

Closest named color: Purpley (#8756E4). oklch(59.3% 0.209 289.8), rgb(129, 93, 239).

Aa

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

About this color

#815DEF is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.209 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.023 away. Black text reads best on it, at 4.74:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.209)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.74:1
White text4.42:1

Values

HEX#815DEF
RGBrgb(129, 93, 239)
HSLhsl(255, 82%, 65%)
OKLCHoklch(59.3% 0.209 289.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 #815DEF 4.42:1 AA large text Lc -75.7 Fine for body text
Black text on #815DEF 4.74:1 AA Lc 33.9 Non-text elements, placeholder text
#815DEF text on white 4.42:1 AA large text Lc 70.2 Content text, not long reading
#815DEF text on black 4.74:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #BFB7FA

    oklch(81% 0.094 289.6)

  5. Step 400

    400

    #A08EF7

    oklch(70.7% 0.151 289.9)

  6. Step 500

    500

    #8B6EF4

    oklch(63.2% 0.193 289.7)

  7. Step 600

    600 (this color)

    #815DEF

    oklch(59.3% 0.209 289.8)

  8. Step 700

    700

    #6440C4

    oklch(49% 0.194 289.8)

  9. Step 800

    800

    #51369F

    oklch(42.6% 0.161 289.6)

  10. Step 900

    900

    #43317E

    oklch(37.8% 0.125 289.9)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#815DEF 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)#007BF40.121
Deuteranopia (no green cones)#0074EC0.119
Tritanopia (no blue cones)#5E7F9D0.171
Achromatopsia (no color)#7878780.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #815DEF

    #815DEF

    oklch(59.3% 0.209 289.8)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815DEF

    #815DEF

    oklch(59.3% 0.209 289.8)

  • #2476F7

    #2476F7

    oklch(59.3% 0.208 259.8)

  • #B247C9

    #B247C9

    oklch(59.3% 0.209 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #815DEF

    #815DEF

    oklch(59.3% 0.209 289.8)

  • #A47400

    #A47400

    oklch(59.2% 0.123 79.7)

  • #2E9700

    #2E9700

    oklch(59.3% 0.19 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815DEF

    #815DEF

    oklch(59.3% 0.209 289.8)

  • #C55B00

    #C55B00

    oklch(59.3% 0.157 49.7)

  • #009473

    #009473

    oklch(59.3% 0.118 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815DEF

    #815DEF

    oklch(59.3% 0.209 289.8)

  • #DF2F47

    #DF2F47

    oklch(59.3% 0.209 19.8)

  • #848400

    #848400

    oklch(59.4% 0.129 109.8)

  • #009096

    #009096

    oklch(59.4% 0.101 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #815DEF 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.