#8C2B97#8C2B97

#8C2B97 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.183 H 323.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8C2B97
RGBrgb(140, 43, 151)
HSLhsl(294, 56%, 38%)
HSVhsv(294, 72%, 59%)
CMYKcmyk(7.3%, 71.5%, 0%, 40.8%)
CIE-LABlab(37.00, 54.71, -39.05)
CIE-LCHlch(37.00, 67.22, 324.48°)
OKLaboklab(48.07% 0.147 -0.1089)
OKLCHoklch(48.07% 0.183 323.5)
XYZxyz(17.2645, 9.5386, 30.2039)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2B97 #36972B
analogous
#562B97 #8C2B97 #972B6C
triadic
#8C2B97 #978C2B #2B978C
tetradic
#8C2B97 #97562B #36972B #2B6C97
square
#8C2B97 #97562B #36972B #2B6C97
split-complementary
#8C2B97 #6C972B #2B9756
monochromatic
#341038 #601D67 #8C2B97 #B839C7 #C968D4

Accessibility & contrast

On white

7.22
#8C2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8C2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2B97
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2B97#FFFFFF#000000##FFFFFF
##8C2B971.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#8E3E5E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c2b97;
/* rgb */ color: rgb(140, 43, 151);
/* oklch */ color: oklch(48.1% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#b16eb6',
    500: '#8c2b97',
    950: '#000000',
  },
}
SCSS
$custom: #8c2b97;
$custom-light: #b16eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2b97",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 293.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48071,
    "c": 0.18294,
    "h": 323.5
  },
  "luminance": 0.09538
}

Semantic roles & 50–950 ramp

primary
#8C2B97
secondary
#6CBB63
accent
#DF4958
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8C2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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