#8F2DB9#8F2DB9

#8F2DB9 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.212 H 313.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8F2DB9
RGBrgb(143, 45, 185)
HSLhsl(282, 61%, 45%)
HSVhsv(282, 76%, 73%)
CMYKcmyk(22.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(39.95, 61.22, -54.63)
CIE-LCHlch(39.95, 82.05, 318.25°)
OKLaboklab(50.97% 0.1454 -0.1544)
OKLCHoklch(50.97% 0.212 313.3)
XYZxyz(21.0215, 11.2199, 46.9478)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DB9 #57B92D
analogous
#492DB9 #8F2DB9 #B92D9D
triadic
#8F2DB9 #B98F2D #2DB98F
tetradic
#8F2DB9 #B9492D #57B92D #2D9DB9
square
#8F2DB9 #B9492D #57B92D #2D9DB9
split-complementary
#8F2DB9 #9DB92D #2DB949
monochromatic
#431557 #692188 #8F2DB9 #AC4FD4 #C380E0

Accessibility & contrast

On white

6.47
#8F2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8F2DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DB9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DB9#FFFFFF#000000##FFFFFF
##8F2DB91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#1E60B6
Tritanopia (blue-blind)
#8A4D72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2db9;
/* rgb */ color: rgb(143, 45, 185);
/* oklch */ color: oklch(51.0% 0.212 313.3);
Tailwind
colors: {
  custom: {
    50: '#b470cf',
    500: '#8f2db9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2db9;
$custom-light: #b470cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2db9",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 282,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.21209,
    "h": 313.3
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#8F2DB9
secondary
#91C979
accent
#E44474
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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