#8E2D95#8E2D95

#8E2D95 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.180 H 325.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8E2D95
RGBrgb(142, 45, 149)
HSLhsl(296, 54%, 38%)
HSVhsv(296, 70%, 58%)
CMYKcmyk(4.7%, 69.8%, 0%, 41.6%)
CIE-LABlab(37.48, 54.04, -37.06)
CIE-LCHlch(37.48, 65.52, 325.56°)
OKLaboklab(48.44% 0.1473 -0.103)
OKLCHoklch(48.44% 0.18 325)
XYZxyz(17.5181, 9.7986, 29.3966)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D95 #34952D
analogous
#5A2D95 #8E2D95 #952D68
triadic
#8E2D95 #958E2D #2D958E
tetradic
#8E2D95 #955A2D #34952D #2D6895
square
#8E2D95 #955A2D #34952D #2D6895
split-complementary
#8E2D95 #68952D #2D955A
monochromatic
#341137 #611F66 #8E2D95 #BB3BC4 #CB6AD2

Accessibility & contrast

On white

7.10
#8E2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D95
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D95#FFFFFF#000000##FFFFFF
##8E2D951.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145198
Deuteranopia (green-blind)
#415C92
Tritanopia (blue-blind)
#913E5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2d95;
/* rgb */ color: rgb(142, 45, 149);
/* oklch */ color: oklch(48.4% 0.180 325.0);
Tailwind
colors: {
  custom: {
    50: '#b26fb4',
    500: '#8e2d95',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d95;
$custom-light: #b26fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d95",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 295.962,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48439,
    "c": 0.17971,
    "h": 325
  },
  "luminance": 0.09797
}

Semantic roles & 50–950 ramp

primary
#8E2D95
secondary
#6AB965
accent
#DD4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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