#8F20BB#8F20BB

#8F20BB is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.226 H 313.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8F20BB
RGBrgb(143, 32, 187)
HSLhsl(283, 71%, 43%)
HSVhsv(283, 83%, 73%)
CMYKcmyk(23.5%, 82.9%, 0%, 26.7%)
CIE-LABlab(38.66, 65.77, -57.90)
CIE-LCHlch(38.66, 87.63, 318.64°)
OKLaboklab(50.11% 0.1552 -0.1639)
OKLCHoklch(50.11% 0.226 313.4)
XYZxyz(20.8123, 10.4612, 47.9270)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F20BB #4CBB20
analogous
#4220BB #8F20BB #BB2099
triadic
#8F20BB #BB8F20 #20BB8F
tetradic
#8F20BB #BB4220 #4CBB20 #2099BB
square
#8F20BB #BB4220 #4CBB20 #2099BB
split-complementary
#8F20BB #99BB20 #20BB42
monochromatic
#3F0E52 #671787 #8F20BB #AF3BDD #C46FE6

Accessibility & contrast

On white

6.79
#8F20BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8F20BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F20BB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F20BB#FFFFFF#000000##FFFFFF
##8F20BB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#8A4870
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f20bb;
/* rgb */ color: rgb(143, 32, 187);
/* oklch */ color: oklch(50.1% 0.226 313.4);
Tailwind
colors: {
  custom: {
    50: '#b56bd0',
    500: '#8f20bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f20bb;
$custom-light: #b56bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f20bb",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 282.968,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50108,
    "c": 0.22574,
    "h": 313.4
  },
  "luminance": 0.10461
}

Semantic roles & 50–950 ramp

primary
#8F20BB
secondary
#86CD6A
accent
#EE3A6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8F20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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