#8C2175

Closest named color: Red Violet (#9E0168). oklch(45.2% 0.168 338.2), rgb(140, 33, 117).

Aa

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

About this color

#8C2175 is a medium-dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.168 and its hue 338°. 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.10:1.

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

Values

HEX#8C2175
RGBrgb(140, 33, 117)
HSLhsl(313, 62%, 34%)
OKLCHoklch(45.2% 0.168 338.2)

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 #8C2175 8.10:1 AAA Lc -91.7 Preferred for body text
Black text on #8C2175 2.58:1 Fails Lc 17.1 Dividers and decoration only
#8C2175 text on white 8.10:1 AAA Lc 86.9 Fine for body text
#8C2175 text on black 2.58: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F2CCE6

    oklch(88.5% 0.054 337.7)

  4. Step 300

    300

    #EBA8D6

    oklch(80.9% 0.098 338.6)

  5. Step 400

    400

    #DE76C2

    oklch(70.7% 0.158 338.3)

  6. Step 500

    500

    #D24DB2

    oklch(63.2% 0.2 338.5)

  7. Step 600

    600

    #BD269E

    oklch(55.7% 0.218 338.2)

  8. Step 700

    700

    #A21587

    oklch(49.1% 0.203 338.1)

  9. Step 800

    800 (this color)

    #8C2175

    oklch(45.2% 0.168 338.2)

  10. Step 900

    900

    #6A1D59

    oklch(37.7% 0.13 338)

  11. Step 950

    950

    #3F1234

    oklch(27% 0.084 338.5)

Export this scale for Tailwind in the Tailwind colors tool

#8C2175 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)#2645770.185
Deuteranopia (no green cones)#4A56730.159
Tritanopia (no blue cones)#9427490.080
Achromatopsia (no color)#5050500.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C2175

    #8C2175

    oklch(45.2% 0.168 338.2)

  • #00673F

    #00673F

    oklch(45.3% 0.105 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C2175

    #8C2175

    oklch(45.2% 0.168 338.2)

  • #70319B

    #70319B

    oklch(45.1% 0.168 308.4)

  • #9C1543

    #9C1543

    oklch(45.3% 0.168 8.5)

Open the analogous palette in the generator

Split complementary

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

  • #8C2175

    #8C2175

    oklch(45.2% 0.168 338.2)

  • #426100

    #426100

    oklch(45.1% 0.118 128.1)

  • #00645E

    #00645E

    oklch(45.3% 0.079 187.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C2175

    #8C2175

    oklch(45.2% 0.168 338.2)

  • #645600

    #645600

    oklch(45.3% 0.094 98.3)

  • #006074

    #006074

    oklch(45.2% 0.081 218.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C2175

    #8C2175

    oklch(45.2% 0.168 338.2)

  • #794A00

    #794A00

    oklch(45.3% 0.099 68.8)

  • #00673F

    #00673F

    oklch(45.3% 0.105 158.3)

  • #005996

    #005996

    oklch(45.3% 0.122 248.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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