#8F1DB0#8F1DB0

#8F1DB0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.219 H 316.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F1DB0
RGBrgb(143, 29, 176)
HSLhsl(287, 72%, 40%)
HSVhsv(287, 84%, 69%)
CMYKcmyk(18.7%, 83.5%, 0%, 31%)
CIE-LABlab(37.58, 64.47, -53.14)
CIE-LCHlch(37.58, 83.54, 320.50°)
OKLaboklab(49.1% 0.1596 -0.1499)
OKLCHoklch(49.1% 0.219 316.8)
XYZxyz(19.6023, 9.8538, 41.9353)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1DB0 #3EB01D
analogous
#461DB0 #8F1DB0 #B01D87
triadic
#8F1DB0 #B08F1D #1DB08F
tetradic
#8F1DB0 #B0461D #3EB01D #1D87B0
square
#8F1DB0 #B0461D #3EB01D #1D87B0
split-complementary
#8F1DB0 #87B01D #1DB046
monochromatic
#3A0C47 #64147B #8F1DB0 #B52EDD #C862E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1DB0#FFFFFF#000000##FFFFFF
##8F1DB01.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)
#0052B4
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#8D4269
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f1db0;
/* rgb */ color: rgb(143, 29, 176);
/* oklch */ color: oklch(49.1% 0.219 316.8);
Tailwind
colors: {
  custom: {
    50: '#b46ac8',
    500: '#8f1db0',
    950: '#000000',
  },
}
SCSS
$custom: #8f1db0;
$custom-light: #b46ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1db0",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 176
  },
  "hsl": {
    "h": 286.531,
    "s": 71.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.21893,
    "h": 316.8
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#8F1DB0
secondary
#77CA5F
accent
#EE3962
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8F1DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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