#8F20B3#8F20B3

#8F20B3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.219 H 315.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8F20B3
RGBrgb(143, 32, 179)
HSLhsl(285, 70%, 41%)
HSVhsv(285, 82%, 70%)
CMYKcmyk(20.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(38.07, 64.23, -54.12)
CIE-LCHlch(38.07, 83.99, 319.88°)
OKLaboklab(49.51% 0.1569 -0.1528)
OKLCHoklch(49.51% 0.219 315.8)
XYZxyz(19.9796, 10.1281, 43.5416)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F20B3 #44B320
analogous
#4620B3 #8F20B3 #B3208E
triadic
#8F20B3 #B38F20 #20B38F
tetradic
#8F20B3 #B34620 #44B320 #208EB3
square
#8F20B3 #B34620 #44B320 #208EB3
split-complementary
#8F20B3 #8EB320 #20B346
monochromatic
#3C0D4B #66177F #8F20B3 #B235DB #C669E4

Accessibility & contrast

On white

6.94
#8F20B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8F20B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F20B3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F20B3#FFFFFF#000000##FFFFFF
##8F20B31.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#8C446B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8f20b3;
/* rgb */ color: rgb(143, 32, 179);
/* oklch */ color: oklch(49.5% 0.219 315.8);
Tailwind
colors: {
  custom: {
    50: '#b56bcb',
    500: '#8f20b3',
    950: '#000000',
  },
}
SCSS
$custom: #8f20b3;
$custom-light: #b56bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f20b3",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 285.306,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.21905,
    "h": 315.8
  },
  "luminance": 0.10127
}

Semantic roles & 50–950 ramp

primary
#8F20B3
secondary
#7ECA65
accent
#EC3B67
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8F20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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