#8A1868

Closest named color: Red Violet (#9E0168). oklch(43.5% 0.167 343.5), rgb(138, 24, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.167)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.41:1
White text8.70:1

Values

HEX#8A1868
RGBrgb(138, 24, 104)
HSLhsl(318, 70%, 32%)
OKLCHoklch(43.5% 0.167 343.5)

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 #8A1868 8.70:1 AAA Lc -93.1 Preferred for body text
Black text on #8A1868 2.41:1 Fails Lc 15.5 Dividers and decoration only
#8A1868 text on white 8.70:1 AAA Lc 88.5 Fine for body text
#8A1868 text on black 2.41:1 Fails Lc -13.7 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F4CCE2

    oklch(88.6% 0.053 344)

  4. Step 300

    300

    #EEA7D1

    oklch(80.9% 0.099 343.3)

  5. Step 400

    400

    #E275B9

    oklch(70.7% 0.156 343.6)

  6. Step 500

    500

    #D64AA8

    oklch(63% 0.2 343.2)

  7. Step 600

    600

    #C12293

    oklch(55.5% 0.217 343.3)

  8. Step 700

    700

    #A6107D

    oklch(49% 0.201 343.4)

  9. Step 800

    800 (this color)

    #8A1868

    oklch(43.5% 0.167 343.5)

  10. Step 900

    900

    #6D1B53

    oklch(37.7% 0.131 343.4)

  11. Step 950

    950

    #401230

    oklch(27% 0.082 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A1868 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)#273F6A0.187
Deuteranopia (no green cones)#4B52660.161
Tritanopia (no blue cones)#93183F0.072
Achromatopsia (no color)#4B4B4B0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A1868

    #8A1868

    oklch(43.5% 0.167 343.5)

  • #006143

    #006143

    oklch(43.6% 0.093 163.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A1868

    #8A1868

    oklch(43.5% 0.167 343.5)

  • #712990

    #712990

    oklch(43.5% 0.167 313.7)

  • #970C35

    #970C35

    oklch(43.5% 0.167 13.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A1868

    #8A1868

    oklch(43.5% 0.167 343.5)

  • #335F00

    #335F00

    oklch(43.6% 0.124 133.5)

  • #005E5D

    #005E5D

    oklch(43.6% 0.075 193.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A1868

    #8A1868

    oklch(43.5% 0.167 343.5)

  • #5A5300

    #5A5300

    oklch(43.5% 0.092 103.9)

  • #005A72

    #005A72

    oklch(43.4% 0.082 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A1868

    #8A1868

    oklch(43.5% 0.167 343.5)

  • #6F4800

    #6F4800

    oklch(43.5% 0.092 73.8)

  • #006143

    #006143

    oklch(43.6% 0.093 163.7)

  • #005199

    #005199

    oklch(43.6% 0.136 253.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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