#8F1FC3#8F1FC3

#8F1FC3 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.7% C 0.233 H 311.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8F1FC3
RGBrgb(143, 31, 195)
HSLhsl(281, 73%, 44%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(26.7%, 84.1%, 0%, 23.5%)
CIE-LABlab(39.17, 67.62, -61.76)
CIE-LCHlch(39.17, 91.57, 317.59°)
OKLaboklab(50.66% 0.1539 -0.1752)
OKLCHoklch(50.66% 0.233 311.3)
XYZxyz(21.6661, 10.7603, 52.5548)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1FC3 #53C31F
analogous
#3D1FC3 #8F1FC3 #C31FA5
triadic
#8F1FC3 #C38F1F #1FC38F
tetradic
#8F1FC3 #C33D1F #53C31F #1FA5C3
square
#8F1FC3 #C33D1F #53C31F #1FA5C3
split-complementary
#8F1FC3 #A5C31F #1FC33D
monochromatic
#420E59 #68178E #8F1FC3 #AD3FE0 #C474E9

Accessibility & contrast

On white

6.66
#8F1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8F1FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1FC3
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1FC3#FFFFFF#000000##FFFFFF
##8F1FC31.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#884C75
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f1fc3;
/* rgb */ color: rgb(143, 31, 195);
/* oklch */ color: oklch(50.7% 0.233 311.3);
Tailwind
colors: {
  custom: {
    50: '#b56cd6',
    500: '#8f1fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8f1fc3;
$custom-light: #b56cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1fc3",
  "rgb": {
    "r": 143,
    "g": 31,
    "b": 195
  },
  "hsl": {
    "h": 280.976,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.23321,
    "h": 311.3
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F1FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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