#8F1CBB#8F1CBB

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

Color values

HEX#8F1CBB
RGBrgb(143, 28, 187)
HSLhsl(283, 74%, 42%)
HSVhsv(283, 85%, 73%)
CMYKcmyk(23.5%, 85%, 0%, 26.7%)
CIE-LABlab(38.30, 66.81, -58.48)
CIE-LCHlch(38.30, 88.79, 318.81°)
OKLaboklab(49.86% 0.1577 -0.1656)
OKLCHoklch(49.86% 0.229 313.6)
XYZxyz(20.7110, 10.2587, 47.8932)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1CBB #48BB1C
analogous
#3F1CBB #8F1CBB #BB1C98
triadic
#8F1CBB #BB8F1C #1CBB8F
tetradic
#8F1CBB #BB3F1C #48BB1C #1C98BB
square
#8F1CBB #BB3F1C #48BB1C #1C98BB
split-complementary
#8F1CBB #98BB1C #1CBB3F
monochromatic
#3E0C51 #661486 #8F1CBB #B134E1 #C569E9

Accessibility & contrast

On white

6.88
#8F1CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8F1CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1CBB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1CBB#FFFFFF#000000##FFFFFF
##8F1CBB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1cbb;
/* rgb */ color: rgb(143, 28, 187);
/* oklch */ color: oklch(49.9% 0.229 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56ad0',
    500: '#8f1cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f1cbb;
$custom-light: #b56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1cbb",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 187
  },
  "hsl": {
    "h": 283.396,
    "s": 73.953,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.2287,
    "h": 313.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#8F1CBB
secondary
#82CE65
accent
#F1376B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8F1CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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