#8D12BD

Closest named color: Dark Violet (#9400D3). oklch(49.2% 0.236 312.7), rgb(141, 18, 189).

Aa

White text reads best on this color (7.10:1).

About this color

#8D12BD is a medium-dark, vivid purple. In OKLCH its lightness is 49%, its chroma 0.236 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Violet (#9400D3), ΔE 0.036 away. White text reads best on it, at 7.10:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.236)
Temperaturein between
Nearest nameDark Violet (#9400D3)
Black text2.95:1
White text7.10:1

Values

HEX#8D12BD
RGBrgb(141, 18, 189)
HSLhsl(283, 83%, 41%)
OKLCHoklch(49.2% 0.236 312.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 #8D12BD 7.10:1 AAA Lc -87.9 Fine for body text
Black text on #8D12BD 2.95:1 Fails Lc 21.2 Dividers and decoration only
#8D12BD text on white 7.10:1 AAA Lc 82.8 Fine for body text
#8D12BD text on black 2.95:1 Fails Lc -19.1 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CEF8

    oklch(88.6% 0.063 312.6)

  4. Step 300

    300

    #DAABF6

    oklch(80.9% 0.114 312.4)

  5. Step 400

    400

    #C77AF1

    oklch(70.8% 0.182 312.5)

  6. Step 500

    500

    #B84FEB

    oklch(63.1% 0.233 312.6)

  7. Step 600

    600

    #A425D9

    oklch(55.6% 0.253 312.7)

  8. Step 700

    700 (this color)

    #8D12BD

    oklch(49.2% 0.236 312.7)

  9. Step 800

    800

    #721699

    oklch(42.7% 0.196 312.4)

  10. Step 900

    900

    #5C1D79

    oklch(37.6% 0.152 312.7)

  11. Step 950

    950

    #361347

    oklch(26.9% 0.097 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#8D12BD 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)#0053C10.195
Deuteranopia (no green cones)#005ABA0.199
Tritanopia (no blue cones)#87456F0.154
Achromatopsia (no color)#5858580.238

Harmonies

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

Complementary

The opposite hue (180°).

  • #8D12BD

    #8D12BD

    oklch(49.2% 0.236 312.7)

  • #407000

    #407000

    oklch(49.1% 0.138 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8D12BD

    #8D12BD

    oklch(49.2% 0.236 312.7)

  • #5937DF

    #5937DF

    oklch(49.3% 0.236 282.7)

  • #A90080

    #A90080

    oklch(49.2% 0.211 342.8)

Open the analogous palette in the generator

Split complementary

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

  • #8D12BD

    #8D12BD

    oklch(49.2% 0.236 312.7)

  • #6D6300

    #6D6300

    oklch(49.4% 0.104 102.6)

  • #00734F

    #00734F

    oklch(49.1% 0.106 163)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8D12BD

    #8D12BD

    oklch(49.2% 0.236 312.7)

  • #855600

    #855600

    oklch(49.3% 0.105 72.7)

  • #00706E

    #00706E

    oklch(49.3% 0.084 192.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8D12BD

    #8D12BD

    oklch(49.2% 0.236 312.7)

  • #A23C00

    #A23C00

    oklch(49.3% 0.147 42.6)

  • #407000

    #407000

    oklch(49.1% 0.138 132.7)

  • #006C87

    #006C87

    oklch(49.3% 0.092 222.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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