#8D4CD4#8D4CD4

#8D4CD4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.201 H 302.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D4CD4
RGBrgb(141, 76, 212)
HSLhsl(269, 61%, 56%)
HSVhsv(269, 64%, 83%)
CMYKcmyk(33.5%, 64.2%, 0%, 16.9%)
CIE-LABlab(46.43, 53.19, -59.85)
CIE-LCHlch(46.43, 80.08, 311.63°)
OKLaboklab(56.13% 0.1074 -0.17)
OKLCHoklch(56.13% 0.201 302.3)
XYZxyz(25.4498, 15.5850, 63.9420)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4CD4 #93D44C
analogous
#4C4FD4 #8D4CD4 #D14CD4
triadic
#8D4CD4 #D48D4C #4CD48D
tetradic
#8D4CD4 #D44C4F #93D44C #4CD4D1
square
#8D4CD4 #D44C4F #93D44C #4CD4D1
split-complementary
#8D4CD4 #D4D14C #4FD44C
monochromatic
#512086 #6E2CB7 #8D4CD4 #AC7DE0 #CCAFEC

Accessibility & contrast

On white

5.10
#8D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8D4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4CD4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4CD4#FFFFFF#000000##FFFFFF
##8D4CD41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#7F6A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d4cd4;
/* rgb */ color: rgb(141, 76, 212);
/* oklch */ color: oklch(56.1% 0.201 302.3);
Tailwind
colors: {
  custom: {
    50: '#b382e2',
    500: '#8d4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8d4cd4;
$custom-light: #b382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4cd4",
  "rgb": {
    "r": 141,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 268.676,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.20109,
    "h": 302.3
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#8D4CD4
secondary
#BFDAA2
accent
#E44397
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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