#8F2DB4#8F2DB4

#8F2DB4 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.208 H 314.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F2DB4
RGBrgb(143, 45, 180)
HSLhsl(284, 60%, 44%)
HSVhsv(284, 75%, 71%)
CMYKcmyk(20.6%, 75%, 0%, 29.4%)
CIE-LABlab(39.60, 60.21, -52.24)
CIE-LCHlch(39.60, 79.71, 319.05°)
OKLaboklab(50.61% 0.1462 -0.1474)
OKLCHoklch(50.61% 0.208 314.8)
XYZxyz(20.5029, 11.0124, 44.2168)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DB4 #52B42D
analogous
#4C2DB4 #8F2DB4 #B42D96
triadic
#8F2DB4 #B48F2D #2DB48F
tetradic
#8F2DB4 #B44C2D #52B42D #2D96B4
square
#8F2DB4 #B44C2D #52B42D #2D96B4
split-complementary
#8F2DB4 #96B42D #2DB44C
monochromatic
#411552 #682183 #8F2DB4 #AD4CD2 #C47DDE

Accessibility & contrast

On white

6.56
#8F2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8F2DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DB4
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DB4#FFFFFF#000000##FFFFFF
##8F2DB41.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#8C4B6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8f2db4;
/* rgb */ color: rgb(143, 45, 180);
/* oklch */ color: oklch(50.6% 0.208 314.8);
Tailwind
colors: {
  custom: {
    50: '#b470cb',
    500: '#8f2db4',
    950: '#000000',
  },
}
SCSS
$custom: #8f2db4;
$custom-light: #b470cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2db4",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 283.556,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.20757,
    "h": 314.8
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#8F2DB4
secondary
#8CC776
accent
#E34570
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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