#8F207E#8F207E

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

Color values

HEX#8F207E
RGBrgb(143, 32, 126)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 78%, 56%)
CMYKcmyk(0%, 77.6%, 11.9%, 43.9%)
CIE-LABlab(34.76, 55.01, -27.16)
CIE-LCHlch(34.76, 61.35, 333.72°)
OKLaboklab(46.11% 0.1607 -0.0742)
OKLCHoklch(46.11% 0.177 335.2)
XYZxyz(15.6103, 8.3804, 20.5301)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207E #208F31
analogous
#69208F #8F207E #8F2047
triadic
#8F207E #7E8F20 #207E8F
tetradic
#8F207E #8F6920 #208F31 #20478F
square
#8F207E #8F6920 #208F31 #20478F
split-complementary
#8F207E #478F20 #208F69
monochromatic
#2B0A26 #5D1552 #8F207E #C12BAA #D851C3

Accessibility & contrast

On white

7.85
#8F207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F207E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207E#FFFFFF#000000##FFFFFF
##8F207E1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204781
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#962A4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f207e;
/* rgb */ color: rgb(143, 32, 126);
/* oklch */ color: oklch(46.1% 0.177 335.2);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8f207e',
    950: '#000000',
  },
}
SCSS
$custom: #8f207e;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207e",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 309.189,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.17706,
    "h": 335.2
  },
  "luminance": 0.08379
}

Semantic roles & 50–950 ramp

primary
#8F207E
secondary
#4FBB60
accent
#E65B41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F207E

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

Preview Lab → · Contrast checker → · Palette generator →

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