#8E2A95#8E2A95

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

Color values

HEX#8E2A95
RGBrgb(142, 42, 149)
HSLhsl(296, 56%, 37%)
HSVhsv(296, 72%, 58%)
CMYKcmyk(4.7%, 71.8%, 0%, 41.6%)
CIE-LABlab(37.07, 55.18, -37.70)
CIE-LCHlch(37.07, 66.83, 325.66°)
OKLaboklab(48.15% 0.1504 -0.1049)
OKLCHoklch(48.15% 0.183 325.1)
XYZxyz(17.4077, 9.5777, 29.3597)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A95 #31952A
analogous
#592A95 #8E2A95 #952A66
triadic
#8E2A95 #958E2A #2A958E
tetradic
#8E2A95 #95592A #31952A #2A6695
square
#8E2A95 #95592A #31952A #2A6695
split-complementary
#8E2A95 #66952A #2A9559
monochromatic
#330F36 #611D65 #8E2A95 #BC37C5 #CD66D4

Accessibility & contrast

On white

7.20
#8E2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A95
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A95#FFFFFF#000000##FFFFFF
##8E2A951.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#405B92
Tritanopia (blue-blind)
#913C5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2a95;
/* rgb */ color: rgb(142, 42, 149);
/* oklch */ color: oklch(48.1% 0.183 325.1);
Tailwind
colors: {
  custom: {
    50: '#b26db5',
    500: '#8e2a95',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a95;
$custom-light: #b26db5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a95",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 296.075,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.18338,
    "h": 325.1
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#8E2A95
secondary
#67BA61
accent
#DF4852
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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