#8F1BBB#8F1BBB

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

Color values

HEX#8F1BBB
RGBrgb(143, 27, 187)
HSLhsl(284, 75%, 42%)
HSVhsv(284, 86%, 73%)
CMYKcmyk(23.5%, 85.6%, 0%, 26.7%)
CIE-LABlab(38.22, 67.06, -58.61)
CIE-LCHlch(38.22, 89.06, 318.85°)
OKLaboklab(49.8% 0.1583 -0.166)
OKLCHoklch(49.8% 0.229 313.6)
XYZxyz(20.6877, 10.2121, 47.8854)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1BBB #47BB1B
analogous
#3F1BBB #8F1BBB #BB1B97
triadic
#8F1BBB #BB8F1B #1BBB8F
tetradic
#8F1BBB #BB3F1B #47BB1B #1B97BB
square
#8F1BBB #BB3F1B #47BB1B #1B97BB
split-complementary
#8F1BBB #97BB1B #1BBB3F
monochromatic
#3D0C50 #661386 #8F1BBB #B132E1 #C567E9

Accessibility & contrast

On white

6.90
#8F1BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8F1BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1BBB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1BBB#FFFFFF#000000##FFFFFF
##8F1BBB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.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: #8f1bbb;
/* rgb */ color: rgb(143, 27, 187);
/* oklch */ color: oklch(49.8% 0.229 313.6);
Tailwind
colors: {
  custom: {
    50: '#b56ad0',
    500: '#8f1bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f1bbb;
$custom-light: #b56ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1bbb",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 187
  },
  "hsl": {
    "h": 283.5,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.22939,
    "h": 313.6
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#8F1BBB
secondary
#81CE63
accent
#F1366A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120714
muted
#817A82

Preview Lab

Preview with #8F1BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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