#8F1D97#8F1D97

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

Color values

HEX#8F1D97
RGBrgb(143, 29, 151)
HSLhsl(296, 68%, 35%)
HSVhsv(296, 81%, 59%)
CMYKcmyk(5.3%, 80.8%, 0%, 40.8%)
CIE-LABlab(35.90, 59.96, -40.79)
CIE-LCHlch(35.90, 72.52, 325.77°)
OKLaboklab(47.38% 0.1631 -0.1137)
OKLCHoklch(47.38% 0.199 325.1)
XYZxyz(17.3526, 8.9539, 30.0865)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D97 #25971D
analogous
#521D97 #8F1D97 #971D62
triadic
#8F1D97 #978F1D #1D978F
tetradic
#8F1D97 #97521D #25971D #1D6297
square
#8F1D97 #97521D #25971D #1D6297
split-complementary
#8F1D97 #62971D #1D9752
monochromatic
#2E0930 #5E1364 #8F1D97 #C027CA #D451DE

Accessibility & contrast

On white

7.53
#8F1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1D97
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D97#FFFFFF#000000##FFFFFF
##8F1D971.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#92355B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1d97;
/* rgb */ color: rgb(143, 29, 151);
/* oklch */ color: oklch(47.4% 0.199 325.1);
Tailwind
colors: {
  custom: {
    50: '#b469b6',
    500: '#8f1d97',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d97;
$custom-light: #b469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d97",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 296.066,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.19888,
    "h": 325.1
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#8F1D97
secondary
#57C04F
accent
#EB3D49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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