#8A2A68

Closest named color: Red Violet (#9E0168). oklch(45.1% 0.146 344.9), rgb(138, 42, 104).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (45%)
Chromavivid (0.146)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.61:1
White text8.04:1

Values

HEX#8A2A68
RGBrgb(138, 42, 104)
HSLhsl(321, 53%, 35%)
OKLCHoklch(45.1% 0.146 344.9)

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 #8A2A68 8.04:1 AAA Lc -91.7 Preferred for body text
Black text on #8A2A68 2.61:1 Fails Lc 17.0 Dividers and decoration only
#8A2A68 text on white 8.04:1 AAA Lc 87.0 Fine for body text
#8A2A68 text on black 2.61:1 Fails Lc -15.1 Dividers and decoration only

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

    #FCF3F7

    oklch(97.2% 0.011 348.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE0

    oklch(88.4% 0.047 345)

  4. Step 300

    300

    #E9ABCD

    oklch(80.9% 0.084 345.1)

  5. Step 400

    400

    #DC7BB4

    oklch(70.7% 0.138 345)

  6. Step 500

    500

    #CF56A2

    oklch(63.1% 0.174 344.6)

  7. Step 600

    600

    #BA358C

    oklch(55.5% 0.19 344.9)

  8. Step 700

    700

    #A02677

    oklch(49.1% 0.177 345)

  9. Step 800

    800 (this color)

    #8A2A68

    oklch(45.1% 0.146 344.9)

  10. Step 900

    900

    #69224F

    oklch(37.6% 0.115 345)

  11. Step 950

    950

    #3E152E

    oklch(27% 0.073 345.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A2A68 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)#34466A0.161
Deuteranopia (no green cones)#5156660.141
Tritanopia (no blue cones)#9329450.061
Achromatopsia (no color)#5050500.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2A68

    #8A2A68

    oklch(45.1% 0.146 344.9)

  • #006648

    #006648

    oklch(45.2% 0.095 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2A68

    #8A2A68

    oklch(45.1% 0.146 344.9)

  • #73368C

    #73368C

    oklch(45.2% 0.145 314.9)

  • #95263B

    #95263B

    oklch(45.1% 0.146 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A2A68

    #8A2A68

    oklch(45.1% 0.146 344.9)

  • #326400

    #326400

    oklch(45% 0.131 134.8)

  • #006363

    #006363

    oklch(45.2% 0.077 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2A68

    #8A2A68

    oklch(45.1% 0.146 344.9)

  • #5E5800

    #5E5800

    oklch(45.2% 0.096 105)

  • #005F79

    #005F79

    oklch(45.1% 0.085 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2A68

    #8A2A68

    oklch(45.1% 0.146 344.9)

  • #744C00

    #744C00

    oklch(45% 0.095 74.4)

  • #006648

    #006648

    oklch(45.2% 0.095 164.7)

  • #0254A4

    #0254A4

    oklch(45.2% 0.146 254.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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