#8C2C8B#8C2C8B

#8C2C8B is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 328.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8C2C8B
RGBrgb(140, 44, 139)
HSLhsl(301, 52%, 36%)
HSVhsv(301, 69%, 55%)
CMYKcmyk(0%, 68.6%, 0.7%, 45.1%)
CIE-LABlab(36.45, 52.16, -32.60)
CIE-LCHlch(36.45, 61.51, 328.00°)
OKLaboklab(47.45% 0.1459 -0.0901)
OKLCHoklch(47.45% 0.171 328.3)
XYZxyz(16.3759, 9.2420, 25.3425)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2C8B #2C8C2D
analogous
#5D2C8C #8C2C8B #8C2C5B
triadic
#8C2C8B #8B8C2C #2C8B8C
tetradic
#8C2C8B #8C5D2C #2C8C2D #2C5B8C
square
#8C2C8B #8C5D2C #2C8C2D #2C5B8C
split-complementary
#8C2C8B #5B8C2C #2C8C5D
monochromatic
#2F0F2F #5D1D5D #8C2C8B #BB3BB9 #CE64CD

Accessibility & contrast

On white

7.37
#8C2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8C2C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2C8B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2C8B#FFFFFF#000000##FFFFFF
##8C2C8B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#913958
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c2c8b;
/* rgb */ color: rgb(140, 44, 139);
/* oklch */ color: oklch(47.4% 0.171 328.3);
Tailwind
colors: {
  custom: {
    50: '#b16ead',
    500: '#8c2c8b',
    950: '#000000',
  },
}
SCSS
$custom: #8c2c8b;
$custom-light: #b16ead;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2c8b",
  "rgb": {
    "r": 140,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 300.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.17145,
    "h": 328.3
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#8C2C8B
secondary
#5FB560
accent
#DC4E4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8C2C8B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8C2C8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva