#8A2C7D

Closest named color: Warm Purple (#952E8F). oklch(46.4% 0.159 333.8), rgb(138, 44, 125).

Aa

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

About this color

#8A2C7D is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.159 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.036 away. White text reads best on it, at 7.67:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.159)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.73:1
White text7.67:1

Values

HEX#8A2C7D
RGBrgb(138, 44, 125)
HSLhsl(308, 52%, 36%)
OKLCHoklch(46.4% 0.159 333.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 #8A2C7D 7.67:1 AAA Lc -90.6 Preferred for body text
Black text on #8A2C7D 2.73:1 Fails Lc 18.2 Dividers and decoration only
#8A2C7D text on white 7.67:1 AAA Lc 85.8 Fine for body text
#8A2C7D text on black 2.73:1 Fails Lc -16.3 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 700.

  1. Step 50

    50

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F4E5F0

    oklch(93.7% 0.022 334.9)

  3. Step 200

    200

    #EBCFE5

    oklch(88.4% 0.043 333.3)

  4. Step 300

    300

    #E0AED5

    oklch(80.8% 0.077 334.2)

  5. Step 400

    400

    #CF82C0

    oklch(70.7% 0.124 334.2)

  6. Step 500

    500

    #C060B0

    oklch(63% 0.157 333.9)

  7. Step 600

    600

    #AB449C

    oklch(55.6% 0.17 333.7)

  8. Step 700

    700 (this color)

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  9. Step 800

    800

    #772D6C

    oklch(42.7% 0.131 333.8)

  10. Step 900

    900

    #612958

    oklch(37.8% 0.103 334)

  11. Step 950

    950

    #391933

    oklch(27% 0.064 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A2C7D 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)#2A4A7F0.169
Deuteranopia (no green cones)#4A587B0.146
Tritanopia (no blue cones)#9034500.082
Achromatopsia (no color)#5353530.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2C7D

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  • #006B39

    #006B39

    oklch(46.3% 0.117 154)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2C7D

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  • #6D3AA0

    #6D3AA0

    oklch(46.3% 0.16 303.8)

  • #9B224F

    #9B224F

    oklch(46.3% 0.159 3.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A2C7D

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  • #4C6300

    #4C6300

    oklch(46.4% 0.115 123.9)

  • #00685E

    #00685E

    oklch(46.5% 0.083 183.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2C7D

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  • #6B5700

    #6B5700

    oklch(46.3% 0.095 93.4)

  • #006475

    #006475

    oklch(46.3% 0.082 214.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2C7D

    #8A2C7D

    oklch(46.4% 0.159 333.8)

  • #814A00

    #814A00

    oklch(46.4% 0.105 63.8)

  • #006B39

    #006B39

    oklch(46.3% 0.117 154)

  • #005E93

    #005E93

    oklch(46.4% 0.113 243.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A2C7D.

Similar named colors

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

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