#8C276A

Closest named color: Red Violet (#9E0168). oklch(45.2% 0.153 344.3), rgb(140, 39, 106).

Aa

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

About this color

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

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

Values

HEX#8C276A
RGBrgb(140, 39, 106)
HSLhsl(320, 56%, 35%)
OKLCHoklch(45.2% 0.153 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 #8C276A 8.03:1 AAA Lc -91.6 Preferred for body text
Black text on #8C276A 2.61:1 Fails Lc 17.2 Dividers and decoration only
#8C276A text on white 8.03:1 AAA Lc 86.9 Fine for body text
#8C276A text on black 2.61:1 Fails Lc -15.2 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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E3EE

    oklch(93.5% 0.026 343.3)

  3. Step 200

    200

    #F2CDE1

    oklch(88.5% 0.049 344.4)

  4. Step 300

    300

    #EBAACF

    oklch(81% 0.089 344.2)

  5. Step 400

    400

    #DE79B6

    oklch(70.7% 0.144 344.3)

  6. Step 500

    500

    #D152A4

    oklch(63% 0.183 344)

  7. Step 600

    600

    #BD308F

    oklch(55.7% 0.199 344.3)

  8. Step 700

    700

    #A22079

    oklch(49% 0.185 344.4)

  9. Step 800

    800 (this color)

    #8C276A

    oklch(45.2% 0.153 344.3)

  10. Step 900

    900

    #6A2051

    oklch(37.6% 0.12 343.8)

  11. Step 950

    950

    #3F142F

    oklch(27% 0.076 344.8)

Export this scale for Tailwind in the Tailwind colors tool

#8C276A 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)#32456C0.169
Deuteranopia (no green cones)#5056680.148
Tritanopia (no blue cones)#9526450.064
Achromatopsia (no color)#5050500.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C276A

    #8C276A

    oklch(45.2% 0.153 344.3)

  • #006648

    #006648

    oklch(45.2% 0.095 164.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C276A

    #8C276A

    oklch(45.2% 0.153 344.3)

  • #743490

    #743490

    oklch(45.3% 0.153 314.1)

  • #98223B

    #98223B

    oklch(45.3% 0.153 14.2)

Open the analogous palette in the generator

Split complementary

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

  • #8C276A

    #8C276A

    oklch(45.2% 0.153 344.3)

  • #346400

    #346400

    oklch(45.1% 0.13 134.2)

  • #006363

    #006363

    oklch(45.2% 0.077 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C276A

    #8C276A

    oklch(45.2% 0.153 344.3)

  • #5F5800

    #5F5800

    oklch(45.3% 0.096 104.2)

  • #005F79

    #005F79

    oklch(45.1% 0.085 224.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C276A

    #8C276A

    oklch(45.2% 0.153 344.3)

  • #754C00

    #754C00

    oklch(45.2% 0.096 73.7)

  • #006648

    #006648

    oklch(45.2% 0.095 164.7)

  • #0055A4

    #0055A4

    oklch(45.4% 0.145 254.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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