#8E2B95#8E2B95

#8E2B95 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.182 H 325.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8E2B95
RGBrgb(142, 43, 149)
HSLhsl(296, 55%, 38%)
HSVhsv(296, 71%, 58%)
CMYKcmyk(4.7%, 71.1%, 0%, 41.6%)
CIE-LABlab(37.21, 54.81, -37.49)
CIE-LCHlch(37.21, 66.40, 325.62°)
OKLaboklab(48.24% 0.1494 -0.1042)
OKLCHoklch(48.24% 0.182 325.1)
XYZxyz(17.4436, 9.6496, 29.3717)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B95 #32952B
analogous
#592B95 #8E2B95 #952B67
triadic
#8E2B95 #958E2B #2B958E
tetradic
#8E2B95 #95592B #32952B #2B6795
square
#8E2B95 #95592B #32952B #2B6795
split-complementary
#8E2B95 #67952B #2B9559
monochromatic
#331036 #611D66 #8E2B95 #BB39C4 #CC67D3

Accessibility & contrast

On white

7.17
#8E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B95
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B95#FFFFFF#000000##FFFFFF
##8E2B951.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105098
Deuteranopia (green-blind)
#405C92
Tritanopia (blue-blind)
#913C5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2b95;
/* rgb */ color: rgb(142, 43, 149);
/* oklch */ color: oklch(48.2% 0.182 325.1);
Tailwind
colors: {
  custom: {
    50: '#b26eb4',
    500: '#8e2b95',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b95;
$custom-light: #b26eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b95",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 296.038,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48244,
    "c": 0.18218,
    "h": 325.1
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#8E2B95
secondary
#68BA62
accent
#DF4953
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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