#8F20C3#8F20C3

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

Color values

HEX#8F20C3
RGBrgb(143, 32, 195)
HSLhsl(281, 72%, 45%)
HSVhsv(281, 84%, 76%)
CMYKcmyk(26.7%, 83.6%, 0%, 23.5%)
CIE-LABlab(39.26, 67.35, -61.61)
CIE-LCHlch(39.26, 91.28, 317.55°)
OKLaboklab(50.72% 0.1532 -0.1748)
OKLCHoklch(50.72% 0.232 311.2)
XYZxyz(21.6926, 10.8134, 52.5636)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F20C3 #54C320
analogous
#3E20C3 #8F20C3 #C320A6
triadic
#8F20C3 #C38F20 #20C38F
tetradic
#8F20C3 #C33E20 #54C320 #20A6C3
square
#8F20C3 #C33E20 #54C320 #20A6C3
split-complementary
#8F20C3 #A6C320 #20C33E
monochromatic
#420F5A #68178E #8F20C3 #AD40E0 #C475E8

Accessibility & contrast

On white

6.64
#8F20C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8F20C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F20C3
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F20C3#FFFFFF#000000##FFFFFF
##8F20C31.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f20c3;
/* rgb */ color: rgb(143, 32, 195);
/* oklch */ color: oklch(50.7% 0.232 311.2);
Tailwind
colors: {
  custom: {
    50: '#b56cd6',
    500: '#8f20c3',
    950: '#000000',
  },
}
SCSS
$custom: #8f20c3;
$custom-light: #b56cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f20c3",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 280.859,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5072,
    "c": 0.23248,
    "h": 311.2
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#8F20C3
secondary
#8ECF6F
accent
#EF3973
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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