#8F1ABB#8F1ABB

#8F1ABB is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.7% C 0.230 H 313.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8F1ABB
RGBrgb(143, 26, 187)
HSLhsl(284, 76%, 42%)
HSVhsv(284, 86%, 73%)
CMYKcmyk(23.5%, 86.1%, 0%, 26.7%)
CIE-LABlab(38.14, 67.29, -58.74)
CIE-LCHlch(38.14, 89.32, 318.88°)
OKLaboklab(49.75% 0.1589 -0.1664)
OKLCHoklch(49.75% 0.23 313.7)
XYZxyz(20.6651, 10.1670, 47.8779)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1ABB #46BB1A
analogous
#3E1ABB #8F1ABB #BB1A97
triadic
#8F1ABB #BB8F1A #1ABB8F
tetradic
#8F1ABB #BB3E1A #46BB1A #1A97BB
square
#8F1ABB #BB3E1A #46BB1A #1A97BB
split-complementary
#8F1ABB #97BB1A #1ABB3E
monochromatic
#3D0B50 #661385 #8F1ABB #B230E2 #C666EA

Accessibility & contrast

On white

6.92
#8F1ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F1ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1ABB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1ABB#FFFFFF#000000##FFFFFF
##8F1ABB1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#8A466F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f1abb;
/* rgb */ color: rgb(143, 26, 187);
/* oklch */ color: oklch(49.7% 0.230 313.7);
Tailwind
colors: {
  custom: {
    50: '#b56ad0',
    500: '#8f1abb',
    950: '#000000',
  },
}
SCSS
$custom: #8f1abb;
$custom-light: #b56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1abb",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 187
  },
  "hsl": {
    "h": 283.602,
    "s": 75.587,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49748,
    "c": 0.23005,
    "h": 313.7
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#8F1ABB
secondary
#80CF62
accent
#F23669
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8F1ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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