#8E1268

Closest named color: Red Violet (#9E0168). oklch(43.9% 0.174 344.8), rgb(142, 18, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.43:1
White text8.61:1

Values

HEX#8E1268
RGBrgb(142, 18, 104)
HSLhsl(318, 78%, 31%)
OKLCHoklch(43.9% 0.174 344.8)

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 #8E1268 8.61:1 AAA Lc -92.6 Preferred for body text
Black text on #8E1268 2.43:1 Fails Lc 16.0 Dividers and decoration only
#8E1268 text on white 8.61:1 AAA Lc 88.0 Fine for body text
#8E1268 text on black 2.43:1 Fails Lc -14.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

    #F9E2EE

    oklch(93.5% 0.03 344.8)

  3. Step 200

    200

    #F6CBE2

    oklch(88.6% 0.057 344.9)

  4. Step 300

    300

    #F0A6D0

    oklch(80.9% 0.102 344.6)

  5. Step 400

    400

    #E572B8

    oklch(70.6% 0.163 344.7)

  6. Step 500

    500

    #DA45A6

    oklch(63% 0.208 344.8)

  7. Step 600

    600

    #C51691

    oklch(55.5% 0.226 344.8)

  8. Step 700

    700

    #A9007B

    oklch(49% 0.209 344.8)

  9. Step 800

    800 (this color)

    #8E1268

    oklch(43.9% 0.174 344.8)

  10. Step 900

    900

    #6F1752

    oklch(37.6% 0.136 344.6)

  11. Step 950

    950

    #421030

    oklch(27.1% 0.087 345.1)

Export this scale for Tailwind in the Tailwind colors tool

#8E1268 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)#263F6A0.197
Deuteranopia (no green cones)#4C53650.170
Tritanopia (no blue cones)#980F3E0.074
Achromatopsia (no color)#4C4C4C0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E1268

    #8E1268

    oklch(43.9% 0.174 344.8)

  • #006245

    #006245

    oklch(43.9% 0.093 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E1268

    #8E1268

    oklch(43.9% 0.174 344.8)

  • #742692

    #742692

    oklch(43.8% 0.174 314.7)

  • #9B0232

    #9B0232

    oklch(43.9% 0.174 14.8)

Open the analogous palette in the generator

Split complementary

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

  • #8E1268

    #8E1268

    oklch(43.9% 0.174 344.8)

  • #306000

    #306000

    oklch(43.8% 0.127 134.7)

  • #005F5F

    #005F5F

    oklch(44% 0.075 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E1268

    #8E1268

    oklch(43.9% 0.174 344.8)

  • #5A5400

    #5A5400

    oklch(43.8% 0.093 104.8)

  • #005B74

    #005B74

    oklch(43.8% 0.083 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E1268

    #8E1268

    oklch(43.9% 0.174 344.8)

  • #704900

    #704900

    oklch(43.9% 0.093 74.2)

  • #006245

    #006245

    oklch(43.9% 0.093 164.7)

  • #00509E

    #00509E

    oklch(43.8% 0.143 254.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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