#8F1E96#8F1E96

#8F1E96 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.197 H 325.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8F1E96
RGBrgb(143, 30, 150)
HSLhsl(297, 67%, 35%)
HSVhsv(297, 80%, 59%)
CMYKcmyk(4.7%, 80%, 0%, 41.2%)
CIE-LABlab(35.93, 59.51, -40.13)
CIE-LCHlch(35.93, 71.77, 326.01°)
OKLaboklab(47.39% 0.1625 -0.1118)
OKLCHoklch(47.39% 0.197 325.5)
XYZxyz(17.2966, 8.9714, 29.6689)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1E96 #25961E
analogous
#531E96 #8F1E96 #961E61
triadic
#8F1E96 #968F1E #1E968F
tetradic
#8F1E96 #96531E #25961E #1E6196
square
#8F1E96 #96531E #25961E #1E6196
split-complementary
#8F1E96 #61961E #1E9653
monochromatic
#2E0A30 #5E1463 #8F1E96 #C028C9 #D452DC

Accessibility & contrast

On white

7.52
#8F1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8F1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1E96
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1E96#FFFFFF#000000##FFFFFF
##8F1E961.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#92355A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1e96;
/* rgb */ color: rgb(143, 30, 150);
/* oklch */ color: oklch(47.4% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#b469b5',
    500: '#8f1e96',
    950: '#000000',
  },
}
SCSS
$custom: #8f1e96;
$custom-light: #b469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1e96",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 296.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.19721,
    "h": 325.5
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#8F1E96
secondary
#57BF50
accent
#EA3E48
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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