#8D4CD5#8D4CD5

#8D4CD5 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.202 H 302.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD5
RGBrgb(141, 76, 213)
HSLhsl(268, 62%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(33.8%, 64.3%, 0%, 16.5%)
CIE-LABlab(46.49, 53.44, -60.32)
CIE-LCHlch(46.49, 80.58, 311.54°)
OKLaboklab(56.2% 0.1073 -0.1713)
OKLCHoklch(56.2% 0.202 302.1)
XYZxyz(25.5764, 15.6356, 64.6084)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD5 #94D54C
analogous
#4C50D5 #8D4CD5 #D24CD5
triadic
#8D4CD5 #D58D4C #4CD58D
tetradic
#8D4CD5 #D54C50 #94D54C #4CD5D2
square
#8D4CD5 #D54C50 #94D54C #4CD5D2
split-complementary
#8D4CD5 #D5D24C #50D54C
monochromatic
#512087 #6E2BB9 #8D4CD5 #AD7EE1 #CCAFEC

Accessibility & contrast

On white

5.09
#8D4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8D4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CD5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CD5#FFFFFF#000000##FFFFFF
##8D4CD51.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#176ED2
Tritanopia (blue-blind)
#7E6A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4cd5;
/* rgb */ color: rgb(141, 76, 213);
/* oklch */ color: oklch(56.2% 0.202 302.1);
Tailwind
colors: {
  custom: {
    50: '#b382e3',
    500: '#8d4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd5;
$custom-light: #b382e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd5",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 268.467,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56196,
    "c": 0.20219,
    "h": 302.1
  },
  "luminance": 0.15636
}

Semantic roles & 50–950 ramp

primary
#8D4CD5
secondary
#C0DAA2
accent
#E54398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8D4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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