#8F2C96#8F2C96

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

Color values

HEX#8F2C96
RGBrgb(143, 44, 150)
HSLhsl(296, 55%, 38%)
HSVhsv(296, 71%, 59%)
CMYKcmyk(4.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(37.56, 54.84, -37.53)
CIE-LCHlch(37.56, 66.45, 325.62°)
OKLaboklab(48.55% 0.1495 -0.1043)
OKLCHoklch(48.55% 0.182 325.1)
XYZxyz(17.7330, 9.8441, 29.8143)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2C96 #33962C
analogous
#5A2C96 #8F2C96 #962C68
triadic
#8F2C96 #968F2C #2C968F
tetradic
#8F2C96 #965A2C #33962C #2C6896
square
#8F2C96 #965A2C #33962C #2C6896
split-complementary
#8F2C96 #68962C #2C965A
monochromatic
#351037 #621E67 #8F2C96 #BC3AC5 #CC69D3

Accessibility & contrast

On white

7.07
#8F2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8F2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2C96
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2C96#FFFFFF#000000##FFFFFF
##8F2C961.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125199
Deuteranopia (green-blind)
#415D93
Tritanopia (blue-blind)
#923D5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2c96;
/* rgb */ color: rgb(143, 44, 150);
/* oklch */ color: oklch(48.5% 0.182 325.1);
Tailwind
colors: {
  custom: {
    50: '#b36fb5',
    500: '#8f2c96',
    950: '#000000',
  },
}
SCSS
$custom: #8f2c96;
$custom-light: #b36fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2c96",
  "rgb": {
    "r": 143,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 296.038,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.1823,
    "h": 325.1
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#8F2C96
secondary
#6ABA64
accent
#DE4A54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8F2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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