#8F1DBB#8F1DBB

#8F1DBB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.9% C 0.228 H 313.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8F1DBB
RGBrgb(143, 29, 187)
HSLhsl(283, 73%, 42%)
HSVhsv(283, 84%, 73%)
CMYKcmyk(23.5%, 84.5%, 0%, 26.7%)
CIE-LABlab(38.39, 66.57, -58.34)
CIE-LCHlch(38.39, 88.51, 318.77°)
OKLaboklab(49.92% 0.1571 -0.1652)
OKLCHoklch(49.92% 0.228 313.6)
XYZxyz(20.7351, 10.3069, 47.9012)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1DBB #49BB1D
analogous
#401DBB #8F1DBB #BB1D98
triadic
#8F1DBB #BB8F1D #1DBB8F
tetradic
#8F1DBB #BB401D #49BB1D #1D98BB
square
#8F1DBB #BB401D #49BB1D #1D98BB
split-complementary
#8F1DBB #98BB1D #1DBB40
monochromatic
#3E0D51 #661586 #8F1DBB #B035E0 #C56AE8

Accessibility & contrast

On white

6.86
#8F1DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8F1DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1DBB
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1DBB#FFFFFF#000000##FFFFFF
##8F1DBB1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#8A4770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f1dbb;
/* rgb */ color: rgb(143, 29, 187);
/* oklch */ color: oklch(49.9% 0.228 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56ad0',
    500: '#8f1dbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f1dbb;
$custom-light: #b56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1dbb",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 283.291,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.22799,
    "h": 313.6
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#8F1DBB
secondary
#83CE66
accent
#F0386B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8F1DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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