#8D2E96#8D2E96

#8D2E96 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.179 H 324.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8D2E96
RGBrgb(141, 46, 150)
HSLhsl(295, 53%, 38%)
HSVhsv(295, 69%, 59%)
CMYKcmyk(6%, 69.3%, 0%, 41.2%)
CIE-LABlab(37.52, 53.59, -37.62)
CIE-LCHlch(37.52, 65.47, 324.93°)
OKLaboklab(48.45% 0.145 -0.1047)
OKLCHoklch(48.45% 0.179 324.2)
XYZxyz(17.4661, 9.8198, 29.8237)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E96 #37962E
analogous
#592E96 #8D2E96 #962E6B
triadic
#8D2E96 #968D2E #2E968D
tetradic
#8D2E96 #96592E #37962E #2E6B96
square
#8D2E96 #96592E #37962E #2E6B96
split-complementary
#8D2E96 #6B962E #2E9659
monochromatic
#351138 #612067 #8D2E96 #B83EC4 #C96CD2

Accessibility & contrast

On white

7.09
#8D2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2E96
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E96#FFFFFF#000000##FFFFFF
##8D2E961.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#903F5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d2e96;
/* rgb */ color: rgb(141, 46, 150);
/* oklch */ color: oklch(48.5% 0.179 324.2);
Tailwind
colors: {
  custom: {
    50: '#b26fb5',
    500: '#8d2e96',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e96;
$custom-light: #b26fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e96",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 294.808,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.17883,
    "h": 324.2
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#8D2E96
secondary
#6EB967
accent
#DC4B58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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