#8A0868

Closest named color: Red Violet (#9E0168). oklch(42.8% 0.178 343), rgb(138, 8, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.178)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.31:1
White text9.07:1

Values

HEX#8A0868
RGBrgb(138, 8, 104)
HSLhsl(316, 89%, 29%)
OKLCHoklch(42.8% 0.178 343)

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 #8A0868 9.07:1 AAA Lc -93.5 Preferred for body text
Black text on #8A0868 2.31:1 Fails Lc 15.0 Dividers and decoration only
#8A0868 text on white 9.07:1 AAA Lc 89.0 Fine for body text
#8A0868 text on black 2.31: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

    #F6CBE3

    oklch(88.6% 0.057 343.7)

  4. Step 300

    300

    #F0A6D2

    oklch(80.9% 0.103 343.2)

  5. Step 400

    400

    #E571BC

    oklch(70.6% 0.167 342.8)

  6. Step 500

    500

    #DA44AB

    oklch(63.2% 0.213 342.9)

  7. Step 600

    600

    #C51196

    oklch(55.6% 0.231 342.9)

  8. Step 700

    700

    #A8007F

    oklch(49% 0.21 342.9)

  9. Step 800

    800 (this color)

    #8A0868

    oklch(42.8% 0.178 343)

  10. Step 900

    900

    #6F1654

    oklch(37.7% 0.139 343.2)

  11. Step 950

    950

    #411031

    oklch(26.9% 0.087 343.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A0868 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)#1E3C6A0.203
Deuteranopia (no green cones)#4750650.173
Tritanopia (no blue cones)#94093C0.079
Achromatopsia (no color)#4949490.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A0868

    #8A0868

    oklch(42.8% 0.178 343)

  • #005E40

    #005E40

    oklch(42.6% 0.092 163.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A0868

    #8A0868

    oklch(42.8% 0.178 343)

  • #702192

    #702192

    oklch(42.7% 0.179 313.2)

  • #950033

    #950033

    oklch(42.7% 0.17 13.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A0868

    #8A0868

    oklch(42.8% 0.178 343)

  • #335C00

    #335C00

    oklch(42.8% 0.12 132.9)

  • #005B5A

    #005B5A

    oklch(42.6% 0.073 193.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A0868

    #8A0868

    oklch(42.8% 0.178 343)

  • #585100

    #585100

    oklch(42.8% 0.09 103.8)

  • #00586F

    #00586F

    oklch(42.7% 0.08 223.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A0868

    #8A0868

    oklch(42.8% 0.178 343)

  • #6D4600

    #6D4600

    oklch(42.8% 0.091 73.1)

  • #005E40

    #005E40

    oklch(42.6% 0.092 163.1)

  • #004F94

    #004F94

    oklch(42.8% 0.131 252.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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