#8D4BD6#8D4BD6

#8D4BD6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.205 H 302.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D4BD6
RGBrgb(141, 75, 214)
HSLhsl(268, 63%, 57%)
HSVhsv(268, 65%, 84%)
CMYKcmyk(34.1%, 65%, 0%, 16.1%)
CIE-LABlab(46.38, 54.18, -61.07)
CIE-LCHlch(46.38, 81.64, 311.58°)
OKLaboklab(56.14% 0.1084 -0.1736)
OKLCHoklch(56.14% 0.205 302)
XYZxyz(25.6353, 15.5498, 65.2562)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4BD6 #94D64B
analogous
#4B4FD6 #8D4BD6 #D24BD6
triadic
#8D4BD6 #D68D4B #4BD68D
tetradic
#8D4BD6 #D64B4F #94D64B #4BD6D2
square
#8D4BD6 #D64B4F #94D64B #4BD6D2
split-complementary
#8D4BD6 #D6D24B #4FD64B
monochromatic
#511F88 #6E2ABA #8D4BD6 #AD7DE1 #CCAFED

Accessibility & contrast

On white

5.11
#8D4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D4BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4BD6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4BD6#FFFFFF#000000##FFFFFF
##8D4BD61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#106DD3
Tritanopia (blue-blind)
#7E6A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4bd6;
/* rgb */ color: rgb(141, 75, 214);
/* oklch */ color: oklch(56.1% 0.205 302.0);
Tailwind
colors: {
  custom: {
    50: '#b381e3',
    500: '#8d4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d4bd6;
$custom-light: #b381e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4bd6",
  "rgb": {
    "r": 141,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 268.489,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.20462,
    "h": 302
  },
  "luminance": 0.1555
}

Semantic roles & 50–950 ramp

primary
#8D4BD6
secondary
#C0DBA2
accent
#E64298
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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