#8A226F

Closest named color: Red Violet (#9E0168). oklch(44.7% 0.161 340.5), rgb(138, 34, 111).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.53:1
White text8.27:1

Values

HEX#8A226F
RGBrgb(138, 34, 111)
HSLhsl(316, 60%, 34%)
OKLCHoklch(44.7% 0.161 340.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 #8A226F 8.27:1 AAA Lc -92.2 Preferred for body text
Black text on #8A226F 2.53:1 Fails Lc 16.5 Dividers and decoration only
#8A226F text on white 8.27:1 AAA Lc 87.5 Fine for body text
#8A226F text on black 2.53:1 Fails Lc -14.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

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F2CCE4

    oklch(88.5% 0.053 340)

  4. Step 300

    300

    #EBA9D3

    oklch(81% 0.094 340.9)

  5. Step 400

    400

    #DD78BD

    oklch(70.7% 0.15 340.4)

  6. Step 500

    500

    #D14FAC

    oklch(63% 0.193 340.5)

  7. Step 600

    600

    #BC2B98

    oklch(55.5% 0.209 340.3)

  8. Step 700

    700

    #A21B81

    oklch(49.1% 0.194 340.7)

  9. Step 800

    800 (this color)

    #8A226F

    oklch(44.7% 0.161 340.5)

  10. Step 900

    900

    #6A1E56

    oklch(37.7% 0.126 340)

  11. Step 950

    950

    #3F1332

    oklch(27% 0.081 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A226F 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)#2A44710.177
Deuteranopia (no green cones)#4B546D0.153
Tritanopia (no blue cones)#9225460.073
Achromatopsia (no color)#4E4E4E0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A226F

    #8A226F

    oklch(44.7% 0.161 340.5)

  • #006541

    #006541

    oklch(44.7% 0.101 160.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A226F

    #8A226F

    oklch(44.7% 0.161 340.5)

  • #703195

    #703195

    oklch(44.7% 0.161 310.4)

  • #98193F

    #98193F

    oklch(44.7% 0.161 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A226F

    #8A226F

    oklch(44.7% 0.161 340.5)

  • #3C6100

    #3C6100

    oklch(44.7% 0.122 130.7)

  • #00625E

    #00625E

    oklch(44.8% 0.077 189.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A226F

    #8A226F

    oklch(44.7% 0.161 340.5)

  • #605500

    #605500

    oklch(44.6% 0.093 100.7)

  • #005E74

    #005E74

    oklch(44.6% 0.082 221)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A226F

    #8A226F

    oklch(44.7% 0.161 340.5)

  • #754900

    #754900

    oklch(44.5% 0.096 70.5)

  • #006541

    #006541

    oklch(44.7% 0.101 160.4)

  • #005698

    #005698

    oklch(44.7% 0.128 250.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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