#8F1CC2#8F1CC2

#8F1CC2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.4% C 0.234 H 311.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F1CC2
RGBrgb(143, 28, 194)
HSLhsl(282, 75%, 44%)
HSVhsv(282, 86%, 76%)
CMYKcmyk(26.3%, 85.6%, 0%, 23.9%)
CIE-LABlab(38.84, 68.17, -61.72)
CIE-LCHlch(38.84, 91.96, 317.85°)
OKLaboklab(50.4% 0.1559 -0.1751)
OKLCHoklch(50.4% 0.234 311.7)
XYZxyz(21.4787, 10.5658, 51.9364)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1CC2 #4FC21C
analogous
#3C1CC2 #8F1CC2 #C21CA2
triadic
#8F1CC2 #C28F1C #1CC28F
tetradic
#8F1CC2 #C23C1C #4FC21C #1CA2C2
square
#8F1CC2 #C23C1C #4FC21C #1CA2C2
split-complementary
#8F1CC2 #A2C21C #1CC23C
monochromatic
#400D57 #68148D #8F1CC2 #AE39E2 #C46EEA

Accessibility & contrast

On white

6.75
#8F1CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F1CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1CC2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1CC2#FFFFFF#000000##FFFFFF
##8F1CC21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f1cc2;
/* rgb */ color: rgb(143, 28, 194);
/* oklch */ color: oklch(50.4% 0.234 311.7);
Tailwind
colors: {
  custom: {
    50: '#b56bd5',
    500: '#8f1cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f1cc2;
$custom-light: #b56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1cc2",
  "rgb": {
    "r": 143,
    "g": 28,
    "b": 194
  },
  "hsl": {
    "h": 281.566,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.23448,
    "h": 311.7
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#8F1CC2
secondary
#89D06A
accent
#F13670
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F1CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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