#8C2B95#8C2B95

#8C2B95 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.181 H 324.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8C2B95
RGBrgb(140, 43, 149)
HSLhsl(295, 55%, 38%)
HSVhsv(295, 71%, 58%)
CMYKcmyk(6%, 71.1%, 0%, 41.6%)
CIE-LABlab(36.88, 54.35, -38.03)
CIE-LCHlch(36.88, 66.33, 325.02°)
OKLaboklab(47.95% 0.1471 -0.1059)
OKLCHoklch(47.95% 0.181 324.3)
XYZxyz(17.1035, 9.4742, 29.3558)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2B95 #34952B
analogous
#572B95 #8C2B95 #952B69
triadic
#8C2B95 #958C2B #2B958C
tetradic
#8C2B95 #95572B #34952B #2B6995
square
#8C2B95 #95572B #34952B #2B6995
split-complementary
#8C2B95 #69952B #2B9557
monochromatic
#331036 #5F1D66 #8C2B95 #B939C4 #CA67D3

Accessibility & contrast

On white

7.25
#8C2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8C2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C2B95
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2B95#FFFFFF#000000##FFFFFF
##8C2B951.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4F98
Deuteranopia (green-blind)
#3E5B92
Tritanopia (blue-blind)
#8F3D5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8c2b95;
/* rgb */ color: rgb(140, 43, 149);
/* oklch */ color: oklch(47.9% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#b16eb5',
    500: '#8c2b95',
    950: '#000000',
  },
}
SCSS
$custom: #8c2b95;
$custom-light: #b16eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2b95",
  "rgb": {
    "r": 140,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 294.906,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47947,
    "c": 0.18121,
    "h": 324.3
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#8C2B95
secondary
#6ABA62
accent
#DF4956
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8C2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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