#8F2DB6#8F2DB6

#8F2DB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.209 H 314.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F2DB6
RGBrgb(143, 45, 182)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 71%)
CMYKcmyk(21.4%, 75.3%, 0%, 28.6%)
CIE-LABlab(39.74, 60.61, -53.20)
CIE-LCHlch(39.74, 80.65, 318.72°)
OKLaboklab(50.75% 0.1459 -0.1502)
OKLCHoklch(50.75% 0.209 314.2)
XYZxyz(20.7081, 11.0945, 45.2975)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2DB6 #54B62D
analogous
#4B2DB6 #8F2DB6 #B62D98
triadic
#8F2DB6 #B68F2D #2DB68F
tetradic
#8F2DB6 #B64B2D #54B62D #2D98B6
square
#8F2DB6 #B64B2D #54B62D #2D98B6
split-complementary
#8F2DB6 #98B62D #2DB64B
monochromatic
#421554 #682185 #8F2DB6 #AD4DD3 #C47EDF

Accessibility & contrast

On white

6.52
#8F2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8F2DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2DB6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2DB6#FFFFFF#000000##FFFFFF
##8F2DB61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#8B4C70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8f2db6;
/* rgb */ color: rgb(143, 45, 182);
/* oklch */ color: oklch(50.8% 0.209 314.2);
Tailwind
colors: {
  custom: {
    50: '#b470cd',
    500: '#8f2db6',
    950: '#000000',
  },
}
SCSS
$custom: #8f2db6;
$custom-light: #b470cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2db6",
  "rgb": {
    "r": 143,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 282.92,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.20938,
    "h": 314.2
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#8F2DB6
secondary
#8EC877
accent
#E34472
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8F2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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