#8F208B#8F208B

#8F208B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.187 H 329.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8F208B
RGBrgb(143, 32, 139)
HSLhsl(302, 63%, 34%)
HSVhsv(302, 78%, 56%)
CMYKcmyk(0%, 77.6%, 2.8%, 43.9%)
CIE-LABlab(35.47, 57.07, -34.11)
CIE-LCHlch(35.47, 66.49, 329.14°)
OKLaboklab(46.85% 0.1612 -0.0943)
OKLCHoklch(46.85% 0.187 329.7)
XYZxyz(16.5043, 8.7380, 25.2384)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F208B #208F24
analogous
#5C208F #8F208B #8F2054
triadic
#8F208B #8B8F20 #208B8F
tetradic
#8F208B #8F5C20 #208F24 #20548F
square
#8F208B #8F5C20 #208F24 #20548F
split-complementary
#8F208B #548F20 #208F5C
monochromatic
#2B0A2A #5D155A #8F208B #C12BBC #D851D3

Accessibility & contrast

On white

7.64
#8F208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F208B
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F208B#FFFFFF#000000##FFFFFF
##8F208B1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#943055
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f208b;
/* rgb */ color: rgb(143, 32, 139);
/* oklch */ color: oklch(46.9% 0.187 329.7);
Tailwind
colors: {
  custom: {
    50: '#b369ad',
    500: '#8f208b',
    950: '#000000',
  },
}
SCSS
$custom: #8f208b;
$custom-light: #b369ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f208b",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 302.162,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.18676,
    "h": 329.7
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#8F208B
secondary
#4FBB53
accent
#E64741
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8F208B

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

Preview Lab → · Contrast checker → · Palette generator →

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