#8F1BC2#8F1BC2

#8F1BC2 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.3% C 0.235 H 311.7°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8F1BC2
RGBrgb(143, 27, 194)
HSLhsl(282, 76%, 43%)
HSVhsv(282, 86%, 76%)
CMYKcmyk(26.3%, 86.1%, 0%, 23.9%)
CIE-LABlab(38.76, 68.41, -61.85)
CIE-LCHlch(38.76, 92.23, 317.89°)
OKLaboklab(50.35% 0.1565 -0.1755)
OKLCHoklch(50.35% 0.235 311.7)
XYZxyz(21.4554, 10.5191, 51.9287)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1BC2 #4EC21B
analogous
#3C1BC2 #8F1BC2 #C21BA1
triadic
#8F1BC2 #C28F1B #1BC28F
tetradic
#8F1BC2 #C23C1B #4EC21B #1BA1C2
square
#8F1BC2 #C23C1B #4EC21B #1BA1C2
split-complementary
#8F1BC2 #A1C21B #1BC23C
monochromatic
#400C57 #67148C #8F1BC2 #AF37E3 #C46DEB

Accessibility & contrast

On white

6.77
#8F1BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8F1BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1BC2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1BC2#FFFFFF#000000##FFFFFF
##8F1BC21.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#884A73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f1bc2;
/* rgb */ color: rgb(143, 27, 194);
/* oklch */ color: oklch(50.3% 0.235 311.7);
Tailwind
colors: {
  custom: {
    50: '#b56ad5',
    500: '#8f1bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f1bc2;
$custom-light: #b56ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1bc2",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 194
  },
  "hsl": {
    "h": 281.677,
    "s": 75.566,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50345,
    "c": 0.23514,
    "h": 311.7
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#8F1BC2
secondary
#88D168
accent
#F2366F
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F1BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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