#8F20B2#8F20B2

#8F20B2 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.218 H 316.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8F20B2
RGBrgb(143, 32, 178)
HSLhsl(286, 70%, 41%)
HSVhsv(286, 82%, 70%)
CMYKcmyk(19.7%, 82%, 0%, 30.2%)
CIE-LABlab(38.00, 64.04, -53.64)
CIE-LCHlch(38.00, 83.54, 320.05°)
OKLaboklab(49.44% 0.1571 -0.1514)
OKLCHoklch(49.44% 0.218 316.1)
XYZxyz(19.8788, 10.0878, 43.0109)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F20B2 #43B220
analogous
#4620B2 #8F20B2 #B2208C
triadic
#8F20B2 #B28F20 #20B28F
tetradic
#8F20B2 #B24620 #43B220 #208CB2
square
#8F20B2 #B24620 #43B220 #208CB2
split-complementary
#8F20B2 #8CB220 #20B246
monochromatic
#3C0D4A #65177E #8F20B2 #B335DB #C668E4

Accessibility & contrast

On white

6.96
#8F20B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8F20B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F20B2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F20B2#FFFFFF#000000##FFFFFF
##8F20B21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#1C5CAF
Tritanopia (blue-blind)
#8C446B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8f20b2;
/* rgb */ color: rgb(143, 32, 178);
/* oklch */ color: oklch(49.4% 0.218 316.1);
Tailwind
colors: {
  custom: {
    50: '#b46bca',
    500: '#8f20b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f20b2;
$custom-light: #b46bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f20b2",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 285.616,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.21821,
    "h": 316.1
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#8F20B2
secondary
#7DCA64
accent
#EC3B66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8F20B2

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

Preview Lab → · Contrast checker → · Palette generator →

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