#8D4DD4#8D4DD4

#8D4DD4 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.200 H 302.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D4DD4
RGBrgb(141, 77, 212)
HSLhsl(268, 61%, 57%)
HSVhsv(268, 64%, 83%)
CMYKcmyk(33.5%, 63.7%, 0%, 16.9%)
CIE-LABlab(46.61, 52.69, -59.56)
CIE-LCHlch(46.61, 79.52, 311.50°)
OKLaboklab(56.26% 0.1063 -0.1691)
OKLCHoklch(56.26% 0.2 302.2)
XYZxyz(25.5193, 15.7239, 63.9652)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4DD4 #94D44D
analogous
#4D51D4 #8D4DD4 #D04DD4
triadic
#8D4DD4 #D48D4D #4DD48D
tetradic
#8D4DD4 #D44D51 #94D44D #4DD4D0
square
#8D4DD4 #D44D51 #94D44D #4DD4D0
split-complementary
#8D4DD4 #D4D04D #51D44D
monochromatic
#512086 #6E2CB7 #8D4DD4 #AD7EE0 #CCB0EC

Accessibility & contrast

On white

5.07
#8D4DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8D4DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4DD4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4DD4#FFFFFF#000000##FFFFFF
##8D4DD41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#7F6A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4dd4;
/* rgb */ color: rgb(141, 77, 212);
/* oklch */ color: oklch(56.3% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#b382e2',
    500: '#8d4dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4dd4;
$custom-light: #b382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4dd4",
  "rgb": {
    "r": 141,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 268.444,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56259,
    "c": 0.19974,
    "h": 302.2
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#8D4DD4
secondary
#C0DAA3
accent
#E44498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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