#8F1FC2#8F1FC2

#8F1FC2 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.6% C 0.232 H 311.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F1FC2
RGBrgb(143, 31, 194)
HSLhsl(281, 72%, 44%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(26.3%, 84%, 0%, 23.9%)
CIE-LABlab(39.10, 67.42, -61.30)
CIE-LCHlch(39.10, 91.12, 317.72°)
OKLaboklab(50.58% 0.1541 -0.1739)
OKLCHoklch(50.58% 0.232 311.6)
XYZxyz(21.5534, 10.7152, 51.9613)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FC2 #52C21F
analogous
#3E1FC2 #8F1FC2 #C21FA4
triadic
#8F1FC2 #C28F1F #1FC28F
tetradic
#8F1FC2 #C23E1F #52C21F #1FA4C2
square
#8F1FC2 #C23E1F #52C21F #1FA4C2
split-complementary
#8F1FC2 #A4C21F #1FC23E
monochromatic
#410E58 #68178D #8F1FC2 #AD3EE0 #C473E9

Accessibility & contrast

On white

6.68
#8F1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8F1FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1FC2
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FC2#FFFFFF#000000##FFFFFF
##8F1FC21.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#884B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f1fc2;
/* rgb */ color: rgb(143, 31, 194);
/* oklch */ color: oklch(50.6% 0.232 311.6);
Tailwind
colors: {
  custom: {
    50: '#b56bd5',
    500: '#8f1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fc2;
$custom-light: #b56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fc2",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 281.227,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.23237,
    "h": 311.6
  },
  "luminance": 0.10715
}

Semantic roles & 50–950 ramp

primary
#8F1FC2
secondary
#8CCF6D
accent
#EF3972
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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