#8F1DA8#8F1DA8

#8F1DA8 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.212 H 319.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8F1DA8
RGBrgb(143, 29, 168)
HSLhsl(289, 71%, 39%)
HSVhsv(289, 83%, 66%)
CMYKcmyk(14.9%, 82.7%, 0%, 34.1%)
CIE-LABlab(37.02, 62.98, -49.27)
CIE-LCHlch(37.02, 79.96, 321.97°)
OKLaboklab(48.53% 0.161 -0.1386)
OKLCHoklch(48.53% 0.212 319.3)
XYZxyz(18.8340, 9.5465, 37.8888)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1DA8 #36A81D
analogous
#4A1DA8 #8F1DA8 #A81D7B
triadic
#8F1DA8 #A88F1D #1DA88F
tetradic
#8F1DA8 #A84A1D #36A81D #1D7BA8
square
#8F1DA8 #A84A1D #36A81D #1D7BA8
split-complementary
#8F1DA8 #7BA81D #1DA84A
monochromatic
#360B40 #631474 #8F1DA8 #BA28DA #CB5CE3

Accessibility & contrast

On white

7.22
#8F1DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8F1DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1DA8
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1DA8#FFFFFF#000000##FFFFFF
##8F1DA81.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#295BA5
Tritanopia (blue-blind)
#8F3E65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f1da8;
/* rgb */ color: rgb(143, 29, 168);
/* oklch */ color: oklch(48.5% 0.212 319.3);
Tailwind
colors: {
  custom: {
    50: '#b469c3',
    500: '#8f1da8',
    950: '#000000',
  },
}
SCSS
$custom: #8f1da8;
$custom-light: #b469c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1da8",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 289.209,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.21244,
    "h": 319.3
  },
  "luminance": 0.09546
}

Semantic roles & 50–950 ramp

primary
#8F1DA8
secondary
#6DC75A
accent
#ED3A5B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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