#8F2DB2#8F2DB2

#8F2DB2 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.206 H 315.4°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8F2DB2
RGBrgb(143, 45, 178)
HSLhsl(284, 60%, 44%)
HSVhsv(284, 75%, 70%)
CMYKcmyk(19.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(39.46, 59.81, -51.28)
CIE-LCHlch(39.46, 78.78, 319.39°)
OKLaboklab(50.47% 0.1464 -0.1446)
OKLCHoklch(50.47% 0.206 315.4)
XYZxyz(20.3007, 10.9315, 43.1515)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DB2 #50B22D
analogous
#4D2DB2 #8F2DB2 #B22D92
triadic
#8F2DB2 #B28F2D #2DB28F
tetradic
#8F2DB2 #B24D2D #50B22D #2D92B2
square
#8F2DB2 #B24D2D #50B22D #2D92B2
split-complementary
#8F2DB2 #92B22D #2DB24D
monochromatic
#411450 #682181 #8F2DB2 #AE4BD1 #C47CDE

Accessibility & contrast

On white

6.59
#8F2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8F2DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DB2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DB2#FFFFFF#000000##FFFFFF
##8F2DB21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#295FAF
Tritanopia (blue-blind)
#8C4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2db2;
/* rgb */ color: rgb(143, 45, 178);
/* oklch */ color: oklch(50.5% 0.206 315.4);
Tailwind
colors: {
  custom: {
    50: '#b470ca',
    500: '#8f2db2',
    950: '#000000',
  },
}
SCSS
$custom: #8f2db2;
$custom-light: #b470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2db2",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 284.211,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.20577,
    "h": 315.4
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#8F2DB2
secondary
#8AC675
accent
#E3456F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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