#8D5FDB

Closest named color: Purpley (#8756E4). oklch(59.3% 0.183 297.7), rgb(141, 95, 219).

Aa

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

About this color

#8D5FDB is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.183 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.028 away. Black text reads best on it, at 4.79:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.183)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.79:1
White text4.38:1

Values

HEX#8D5FDB
RGBrgb(141, 95, 219)
HSLhsl(262, 63%, 62%)
OKLCHoklch(59.3% 0.183 297.7)

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 #8D5FDB 4.38:1 AA large text Lc -75.5 Fine for body text
Black text on #8D5FDB 4.79:1 AA Lc 34.1 Non-text elements, placeholder text
#8D5FDB text on white 4.38:1 AA large text Lc 70.0 Content text, not long reading
#8D5FDB text on black 4.79:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DCD3F4

    oklch(88.4% 0.046 297.9)

  4. Step 300

    300

    #C6B6F0

    oklch(80.9% 0.082 297.2)

  5. Step 400

    400

    #AA8EE8

    oklch(70.8% 0.131 297.3)

  6. Step 500

    500

    #976EE1

    oklch(63.1% 0.169 297.8)

  7. Step 600

    600 (this color)

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  8. Step 700

    700

    #6E43B3

    oklch(49.1% 0.17 297.4)

  9. Step 800

    800

    #5A3891

    oklch(42.8% 0.141 297.7)

  10. Step 900

    900

    #493173

    oklch(37.6% 0.11 297.7)

  11. Step 950

    950

    #2B1E44

    oklch(27.2% 0.069 297.4)

Export this scale for Tailwind in the Tailwind colors tool

#8D5FDB 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)#2279DF0.129
Deuteranopia (no green cones)#3477D80.120
Tritanopia (no blue cones)#7B79940.143
Achromatopsia (no color)#7979790.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D5FDB

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  • #788800

    #788800

    oklch(59.3% 0.138 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D5FDB

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  • #4F73E9

    #4F73E9

    oklch(59.2% 0.183 267.7)

  • #B54EB5

    #B54EB5

    oklch(59.4% 0.183 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #8D5FDB

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  • #9D7900

    #9D7900

    oklch(59.5% 0.122 87.7)

  • #00983A

    #00983A

    oklch(59.3% 0.173 147.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D5FDB

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  • #BB6400

    #BB6400

    oklch(59.3% 0.142 57.6)

  • #00937E

    #00937E

    oklch(59.3% 0.109 177.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D5FDB

    #8D5FDB

    oklch(59.3% 0.183 297.7)

  • #D5453B

    #D5453B

    oklch(59.3% 0.182 27.9)

  • #788800

    #788800

    oklch(59.3% 0.138 117.7)

  • #008F9E

    #008F9E

    oklch(59.4% 0.102 207.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8D5FDB.

Similar named colors

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

Use #8D5FDB 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.