#8A046B

Closest named color: Red Violet (#9E0168). oklch(42.8% 0.182 341.5), rgb(138, 4, 107).

Aa

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

About this color

#8A046B is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.182 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.045 away. White text reads best on it, at 9.08:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.182)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text2.31:1
White text9.08:1

Values

HEX#8A046B
RGBrgb(138, 4, 107)
HSLhsl(314, 94%, 28%)
OKLCHoklch(42.8% 0.182 341.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 #8A046B 9.08:1 AAA Lc -93.4 Preferred for body text
Black text on #8A046B 2.31:1 Fails Lc 15.1 Dividers and decoration only
#8A046B text on white 9.08:1 AAA Lc 88.9 Fine for body text
#8A046B text on black 2.31:1 Fails Lc -13.3 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

    #F9E2F0

    oklch(93.5% 0.031 340.6)

  3. Step 200

    200

    #F6CAE4

    oklch(88.4% 0.06 342.1)

  4. Step 300

    300

    #F0A5D5

    oklch(80.9% 0.107 341)

  5. Step 400

    400

    #E571BF

    oklch(70.8% 0.169 341.5)

  6. Step 500

    500

    #DA42AF

    oklch(63.1% 0.217 341.3)

  7. Step 600

    600

    #C50A9A

    oklch(55.6% 0.236 341.5)

  8. Step 700

    700

    #A80082

    oklch(49.2% 0.212 341.7)

  9. Step 800

    800 (this color)

    #8A046B

    oklch(42.8% 0.182 341.5)

  10. Step 900

    900

    #6F1557

    oklch(37.7% 0.142 341.3)

  11. Step 950

    950

    #410F33

    oklch(26.9% 0.09 340.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A046B 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)#193C6D0.208
Deuteranopia (no green cones)#464F680.174
Tritanopia (no blue cones)#930A3D0.083
Achromatopsia (no color)#4848480.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A046B

    #8A046B

    oklch(42.8% 0.182 341.5)

  • #005F3E

    #005F3E

    oklch(42.9% 0.095 161.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A046B

    #8A046B

    oklch(42.8% 0.182 341.5)

  • #6F2095

    #6F2095

    oklch(42.7% 0.182 311.7)

  • #950036

    #950036

    oklch(42.7% 0.171 11.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A046B

    #8A046B

    oklch(42.8% 0.182 341.5)

  • #365B00

    #365B00

    oklch(42.7% 0.117 131.5)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A046B

    #8A046B

    oklch(42.8% 0.182 341.5)

  • #5A5000

    #5A5000

    oklch(42.8% 0.089 101.1)

  • #00586E

    #00586E

    oklch(42.7% 0.079 222.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A046B

    #8A046B

    oklch(42.8% 0.182 341.5)

  • #6E4500

    #6E4500

    oklch(42.8% 0.092 71.2)

  • #005F3E

    #005F3E

    oklch(42.9% 0.095 161.1)

  • #005091

    #005091

    oklch(42.8% 0.126 251.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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