#8F208C#8F208C

#8F208C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.188 H 329.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8F208C
RGBrgb(143, 32, 140)
HSLhsl(302, 63%, 34%)
HSVhsv(302, 78%, 56%)
CMYKcmyk(0%, 77.6%, 2.1%, 43.9%)
CIE-LABlab(35.53, 57.24, -34.63)
CIE-LCHlch(35.53, 66.90, 328.82°)
OKLaboklab(46.91% 0.1612 -0.0958)
OKLCHoklch(46.91% 0.188 329.3)
XYZxyz(16.5777, 8.7674, 25.6250)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F208C #208F23
analogous
#5B208F #8F208C #8F2054
triadic
#8F208C #8C8F20 #208C8F
tetradic
#8F208C #8F5B20 #208F23 #20548F
square
#8F208C #8F5B20 #208F23 #20548F
split-complementary
#8F208C #548F20 #208F5B
monochromatic
#2B0A2A #5D155B #8F208C #C12BBD #D851D4

Accessibility & contrast

On white

7.63
#8F208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8F208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F208C
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F208C#FFFFFF#000000##FFFFFF
##8F208C1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8F
Deuteranopia (green-blind)
#415989
Tritanopia (blue-blind)
#943155
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f208c;
/* rgb */ color: rgb(143, 32, 140);
/* oklch */ color: oklch(46.9% 0.188 329.3);
Tailwind
colors: {
  custom: {
    50: '#b369ae',
    500: '#8f208c',
    950: '#000000',
  },
}
SCSS
$custom: #8f208c;
$custom-light: #b369ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f208c",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 301.622,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4691,
    "c": 0.18753,
    "h": 329.3
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#8F208C
secondary
#4FBB52
accent
#E64641
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F208C

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

Preview Lab → · Contrast checker → · Palette generator →

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