#8F2E96#8F2E96

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

Color values

HEX#8F2E96
RGBrgb(143, 46, 150)
HSLhsl(296, 53%, 38%)
HSVhsv(296, 69%, 59%)
CMYKcmyk(4.7%, 69.3%, 0%, 41.2%)
CIE-LABlab(37.84, 54.06, -37.09)
CIE-LCHlch(37.84, 65.56, 325.55°)
OKLaboklab(48.75% 0.1474 -0.1031)
OKLCHoklch(48.75% 0.18 325)
XYZxyz(17.8093, 9.9967, 29.8398)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E96 #35962E
analogous
#5B2E96 #8F2E96 #962E69
triadic
#8F2E96 #968F2E #2E968F
tetradic
#8F2E96 #965B2E #35962E #2E6996
square
#8F2E96 #965B2E #35962E #2E6996
split-complementary
#8F2E96 #69962E #2E965B
monochromatic
#361138 #622067 #8F2E96 #BB3EC4 #CB6CD2

Accessibility & contrast

On white

7.00
#8F2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8F2E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2E96
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E96#FFFFFF#000000##FFFFFF
##8F2E961.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165199
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#923E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f2e96;
/* rgb */ color: rgb(143, 46, 150);
/* oklch */ color: oklch(48.7% 0.180 325.0);
Tailwind
colors: {
  custom: {
    50: '#b36fb5',
    500: '#8f2e96',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e96;
$custom-light: #b36fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e96",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 295.962,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.17982,
    "h": 325
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#8F2E96
secondary
#6CB967
accent
#DC4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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