#8F1BA0#8F1BA0

#8F1BA0 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.208 H 322.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8F1BA0
RGBrgb(143, 27, 160)
HSLhsl(292, 71%, 37%)
HSVhsv(292, 83%, 63%)
CMYKcmyk(10.6%, 83.1%, 0%, 37.3%)
CIE-LABlab(36.30, 62.06, -45.61)
CIE-LCHlch(36.30, 77.02, 323.69°)
OKLaboklab(47.85% 0.1636 -0.1278)
OKLCHoklch(47.85% 0.208 322)
XYZxyz(18.0641, 9.1626, 34.0680)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1BA0 #2CA01B
analogous
#4D1BA0 #8F1BA0 #A01B6F
triadic
#8F1BA0 #A08F1B #1BA08F
tetradic
#8F1BA0 #A04D1B #2CA01B #1B6FA0
square
#8F1BA0 #A04D1B #2CA01B #1B6FA0
split-complementary
#8F1BA0 #6FA01B #1BA04D
monochromatic
#310937 #60126C #8F1BA0 #BE24D4 #D053E2

Accessibility & contrast

On white

7.41
#8F1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8F1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1BA0
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1BA0#FFFFFF#000000##FFFFFF
##8F1BA01.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#31599D
Tritanopia (blue-blind)
#913960
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f1ba0;
/* rgb */ color: rgb(143, 27, 160);
/* oklch */ color: oklch(47.9% 0.208 322.0);
Tailwind
colors: {
  custom: {
    50: '#b468bd',
    500: '#8f1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #8f1ba0;
$custom-light: #b468bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1ba0",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 292.331,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4785,
    "c": 0.20762,
    "h": 322
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#8F1BA0
secondary
#61C552
accent
#EE3A51
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8F1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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