#8F207B#8F207B

#8F207B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.175 H 336.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#8F207B
RGBrgb(143, 32, 123)
HSLhsl(311, 63%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 77.6%, 14%, 43.9%)
CIE-LABlab(34.61, 54.56, -25.53)
CIE-LCHlch(34.61, 60.23, 334.92°)
OKLaboklab(45.95% 0.1605 -0.0696)
OKLCHoklch(45.95% 0.175 336.6)
XYZxyz(15.4196, 8.3042, 19.5258)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207B #208F34
analogous
#6C208F #8F207B #8F2044
triadic
#8F207B #7B8F20 #207B8F
tetradic
#8F207B #8F6C20 #208F34 #20448F
square
#8F207B #8F6C20 #208F34 #20448F
split-complementary
#8F207B #448F20 #208F6C
monochromatic
#2B0A25 #5D1550 #8F207B #C12BA6 #D851C0

Accessibility & contrast

On white

7.89
#8F207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F207B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207B#FFFFFF#000000##FFFFFF
##8F207B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#97284C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f207b;
/* rgb */ color: rgb(143, 32, 123);
/* oklch */ color: oklch(45.9% 0.175 336.6);
Tailwind
colors: {
  custom: {
    50: '#b368a1',
    500: '#8f207b',
    950: '#000000',
  },
}
SCSS
$custom: #8f207b;
$custom-light: #b368a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207b",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 310.811,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.17492,
    "h": 336.6
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#8F207B
secondary
#4FBB63
accent
#E65F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8F207B

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

Preview Lab → · Contrast checker → · Palette generator →

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