#8D47D2#8D47D2

#8D47D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.205 H 303.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8D47D2
RGBrgb(141, 71, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(32.9%, 66.2%, 0%, 17.6%)
CIE-LABlab(45.39, 55.18, -60.38)
CIE-LCHlch(45.39, 81.80, 312.42°)
OKLaboklab(55.34% 0.1131 -0.1715)
OKLCHoklch(55.34% 0.205 303.4)
XYZxyz(24.8679, 14.8224, 62.5112)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47D2 #8CD247
analogous
#4747D2 #8D47D2 #D247D1
triadic
#8D47D2 #D28D47 #47D28D
tetradic
#8D47D2 #D24747 #8CD247 #47D1D2
square
#8D47D2 #D24747 #8CD247 #47D1D2
split-complementary
#8D47D2 #D1D247 #47D247
monochromatic
#501F7F #6E2BB1 #8D47D2 #AB78DE #CAA9EA

Accessibility & contrast

On white

5.30
#8D47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8D47D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47D2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47D2#FFFFFF#000000##FFFFFF
##8D47D21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#806687
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8d47d2;
/* rgb */ color: rgb(141, 71, 210);
/* oklch */ color: oklch(55.3% 0.205 303.4);
Tailwind
colors: {
  custom: {
    50: '#b37fe1',
    500: '#8d47d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d47d2;
$custom-light: #b37fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47d2",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 270.216,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.20547,
    "h": 303.4
  },
  "luminance": 0.14822
}

Semantic roles & 50–950 ramp

primary
#8D47D2
secondary
#BAD89D
accent
#E44493
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D47D2

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

Preview Lab → · Contrast checker → · Palette generator →

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