#8F208A#8F208A

#8F208A is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.186 H 330.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8F208A
RGBrgb(143, 32, 138)
HSLhsl(303, 63%, 34%)
HSVhsv(303, 78%, 56%)
CMYKcmyk(0%, 77.6%, 3.5%, 43.9%)
CIE-LABlab(35.42, 56.91, -33.58)
CIE-LCHlch(35.42, 66.08, 329.46°)
OKLaboklab(46.79% 0.1612 -0.0928)
OKLCHoklch(46.79% 0.186 330.1)
XYZxyz(16.4316, 8.7089, 24.8554)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F208A #208F25
analogous
#5D208F #8F208A #8F2053
triadic
#8F208A #8A8F20 #208A8F
tetradic
#8F208A #8F5D20 #208F25 #20538F
square
#8F208A #8F5D20 #208F25 #20538F
split-complementary
#8F208A #538F20 #208F5D
monochromatic
#2B0A29 #5D155A #8F208A #C12BBA #D851D2

Accessibility & contrast

On white

7.66
#8F208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F208A
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F208A#FFFFFF#000000##FFFFFF
##8F208A1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#435887
Tritanopia (blue-blind)
#943054
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f208a;
/* rgb */ color: rgb(143, 32, 138);
/* oklch */ color: oklch(46.8% 0.186 330.1);
Tailwind
colors: {
  custom: {
    50: '#b369ac',
    500: '#8f208a',
    950: '#000000',
  },
}
SCSS
$custom: #8f208a;
$custom-light: #b369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f208a",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 302.703,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.186,
    "h": 330.1
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#8F208A
secondary
#4FBB54
accent
#E64941
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F208A

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

Preview Lab → · Contrast checker → · Palette generator →

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