#8F207F#8F207F

#8F207F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.178 H 334.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8F207F
RGBrgb(143, 32, 127)
HSLhsl(309, 63%, 34%)
HSVhsv(309, 78%, 56%)
CMYKcmyk(0%, 77.6%, 11.2%, 43.9%)
CIE-LABlab(34.82, 55.16, -27.70)
CIE-LCHlch(34.82, 61.73, 333.33°)
OKLaboklab(46.17% 0.1608 -0.0758)
OKLCHoklch(46.17% 0.178 334.8)
XYZxyz(15.6752, 8.4064, 20.8716)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F207F #208F30
analogous
#68208F #8F207F #8F2047
triadic
#8F207F #7F8F20 #207F8F
tetradic
#8F207F #8F6820 #208F30 #20478F
square
#8F207F #8F6820 #208F30 #20478F
split-complementary
#8F207F #478F20 #208F68
monochromatic
#2B0A26 #5D1553 #8F207F #C12BAB #D851C5

Accessibility & contrast

On white

7.83
#8F207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F207F
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F207F#FFFFFF#000000##FFFFFF
##8F207F1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4782
Deuteranopia (green-blind)
#48587C
Tritanopia (blue-blind)
#962A4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f207f;
/* rgb */ color: rgb(143, 32, 127);
/* oklch */ color: oklch(46.2% 0.178 334.8);
Tailwind
colors: {
  custom: {
    50: '#b369a4',
    500: '#8f207f',
    950: '#000000',
  },
}
SCSS
$custom: #8f207f;
$custom-light: #b369a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f207f",
  "rgb": {
    "r": 143,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 308.649,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46165,
    "c": 0.17779,
    "h": 334.8
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#8F207F
secondary
#4FBB5F
accent
#E65941
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F207F

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

Preview Lab → · Contrast checker → · Palette generator →

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