#8F207D#8F207D

#8F207D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.176 H 335.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8F207D
RGBrgb(143, 32, 125)
HSLhsl(310, 63%, 34%)
HSVhsv(310, 78%, 56%)
CMYKcmyk(0%, 77.6%, 12.6%, 43.9%)
CIE-LABlab(34.71, 54.86, -26.62)
CIE-LCHlch(34.71, 60.98, 334.12°)
OKLaboklab(46.06% 0.1607 -0.0727)
OKLCHoklch(46.06% 0.176 335.7)
XYZxyz(15.5461, 8.3548, 20.1919)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207D #208F32
analogous
#6A208F #8F207D #8F2045
triadic
#8F207D #7D8F20 #207D8F
tetradic
#8F207D #8F6A20 #208F32 #20458F
square
#8F207D #8F6A20 #208F32 #20458F
split-complementary
#8F207D #458F20 #208F6A
monochromatic
#2B0A26 #5D1551 #8F207D #C12BA9 #D851C2

Accessibility & contrast

On white

7.86
#8F207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F207D
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207D#FFFFFF#000000##FFFFFF
##8F207D1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#49577A
Tritanopia (blue-blind)
#96294D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f207d;
/* rgb */ color: rgb(143, 32, 125);
/* oklch */ color: oklch(46.1% 0.176 335.7);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8f207d',
    950: '#000000',
  },
}
SCSS
$custom: #8f207d;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207d",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 309.73,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46056,
    "c": 0.17635,
    "h": 335.7
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#8F207D
secondary
#4FBB61
accent
#E65C41
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F207D

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

Preview Lab → · Contrast checker → · Palette generator →

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