#8A0C66

Closest named color: Red Violet (#9E0168). oklch(42.8% 0.175 344.1), rgb(138, 12, 102).

Aa

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

About this color

#8A0C66 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.175 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.042 away. White text reads best on it, at 9.03:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.32:1
White text9.03:1

Values

HEX#8A0C66
RGBrgb(138, 12, 102)
HSLhsl(317, 84%, 29%)
OKLCHoklch(42.8% 0.175 344.1)

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 #8A0C66 9.03:1 AAA Lc -93.6 Preferred for body text
Black text on #8A0C66 2.32:1 Fails Lc 15.0 Dividers and decoration only
#8A0C66 text on white 9.03:1 AAA Lc 89.0 Fine for body text
#8A0C66 text on black 2.32:1 Fails Lc -13.2 Not readable

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

  1. Step 50

    50

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #F9E2EF

    oklch(93.5% 0.03 342.6)

  3. Step 200

    200

    #F5CBE2

    oklch(88.5% 0.056 344.2)

  4. Step 300

    300

    #F0A6D1

    oklch(80.9% 0.102 343.9)

  5. Step 400

    400

    #E572B9

    oklch(70.7% 0.164 344.2)

  6. Step 500

    500

    #DA45A8

    oklch(63.1% 0.21 344)

  7. Step 600

    600

    #C51693

    oklch(55.6% 0.227 344.1)

  8. Step 700

    700

    #A9007D

    oklch(49.1% 0.21 344)

  9. Step 800

    800 (this color)

    #8A0C66

    oklch(42.8% 0.175 344.1)

  10. Step 900

    900

    #6F1753

    oklch(37.7% 0.137 344)

  11. Step 950

    950

    #411031

    oklch(26.9% 0.087 343.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A0C66 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)#213C680.199
Deuteranopia (no green cones)#4950630.169
Tritanopia (no blue cones)#940A3B0.076
Achromatopsia (no color)#4949490.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A0C66

    #8A0C66

    oklch(42.8% 0.175 344.1)

  • #005E42

    #005E42

    oklch(42.7% 0.09 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A0C66

    #8A0C66

    oklch(42.8% 0.175 344.1)

  • #702390

    #702390

    oklch(42.8% 0.174 313.8)

  • #960031

    #960031

    oklch(42.8% 0.171 14.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A0C66

    #8A0C66

    oklch(42.8% 0.175 344.1)

  • #305D00

    #305D00

    oklch(42.9% 0.123 134.2)

  • #005C5B

    #005C5B

    oklch(42.9% 0.073 193.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A0C66

    #8A0C66

    oklch(42.8% 0.175 344.1)

  • #585100

    #585100

    oklch(42.8% 0.09 103.8)

  • #005870

    #005870

    oklch(42.8% 0.081 224.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A0C66

    #8A0C66

    oklch(42.8% 0.175 344.1)

  • #6C4600

    #6C4600

    oklch(42.7% 0.091 73.9)

  • #005E42

    #005E42

    oklch(42.7% 0.09 164.7)

  • #004E97

    #004E97

    oklch(42.8% 0.136 254.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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