#8A1266

Closest named color: Red Violet (#9E0168). oklch(43.1% 0.171 344.3), rgb(138, 18, 102).

Aa

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

About this color

#8A1266 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.171 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.90:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.171)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.35:1
White text8.90:1

Values

HEX#8A1266
RGBrgb(138, 18, 102)
HSLhsl(318, 77%, 31%)
OKLCHoklch(43.1% 0.171 344.3)

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 #8A1266 8.90:1 AAA Lc -93.4 Preferred for body text
Black text on #8A1266 2.35:1 Fails Lc 15.2 Dividers and decoration only
#8A1266 text on white 8.90:1 AAA Lc 88.8 Fine for body text
#8A1266 text on black 2.35:1 Fails Lc -13.4 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

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE2

    oklch(88.5% 0.056 344.2)

  4. Step 300

    300

    #EFA7D0

    oklch(80.9% 0.099 344.4)

  5. Step 400

    400

    #E474B8

    oklch(70.8% 0.159 344.6)

  6. Step 500

    500

    #D848A7

    oklch(63.1% 0.204 344)

  7. Step 600

    600

    #C31C92

    oklch(55.5% 0.222 344)

  8. Step 700

    700

    #A8067C

    oklch(49% 0.206 344.2)

  9. Step 800

    800 (this color)

    #8A1266

    oklch(43.1% 0.171 344.3)

  10. Step 900

    900

    #6E1952

    oklch(37.6% 0.133 344.3)

  11. Step 950

    950

    #411130

    oklch(27% 0.084 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A1266 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)#243D680.193
Deuteranopia (no green cones)#4A51630.166
Tritanopia (no blue cones)#94103C0.074
Achromatopsia (no color)#4A4A4A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A1266

    #8A1266

    oklch(43.1% 0.171 344.3)

  • #005F42

    #005F42

    oklch(43% 0.092 164.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A1266

    #8A1266

    oklch(43.1% 0.171 344.3)

  • #71268F

    #71268F

    oklch(43.1% 0.17 314.4)

  • #970232

    #970232

    oklch(43.1% 0.171 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A1266

    #8A1266

    oklch(43.1% 0.171 344.3)

  • #305E00

    #305E00

    oklch(43.2% 0.125 134.4)

  • #005C5C

    #005C5C

    oklch(43% 0.073 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A1266

    #8A1266

    oklch(43.1% 0.171 344.3)

  • #585200

    #585200

    oklch(43.1% 0.091 104.7)

  • #005971

    #005971

    oklch(43.1% 0.081 224.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A1266

    #8A1266

    oklch(43.1% 0.171 344.3)

  • #6D4700

    #6D4700

    oklch(43% 0.091 74.3)

  • #005F42

    #005F42

    oklch(43% 0.092 164.1)

  • #004F99

    #004F99

    oklch(43.1% 0.138 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 #8A1266, closest first.

Similar named colors

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

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