#8E4CD3#8E4CD3

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

Color values

HEX#8E4CD3
RGBrgb(142, 76, 211)
HSLhsl(269, 61%, 56%)
HSVhsv(269, 64%, 83%)
CMYKcmyk(32.7%, 64%, 0%, 17.3%)
CIE-LABlab(46.48, 53.17, -59.19)
CIE-LCHlch(46.48, 79.57, 311.93°)
OKLaboklab(56.17% 0.1088 -0.168)
OKLCHoklch(56.17% 0.2 302.9)
XYZxyz(25.4949, 15.6228, 63.2877)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CD3 #91D34C
analogous
#4C4ED3 #8E4CD3 #D14CD3
triadic
#8E4CD3 #D38E4C #4CD38E
tetradic
#8E4CD3 #D34C4E #91D34C #4CD3D1
square
#8E4CD3 #D34C4E #91D34C #4CD3D1
split-complementary
#8E4CD3 #D3D14C #4ED34C
monochromatic
#512084 #6F2DB5 #8E4CD3 #AD7DDF #CCAEEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E4CD3#FFFFFF#000000##FFFFFF
##8E4CD31.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#1E6ED0
Tritanopia (blue-blind)
#806989
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4cd3;
/* rgb */ color: rgb(142, 76, 211);
/* oklch */ color: oklch(56.2% 0.200 302.9);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8e4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cd3;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cd3",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 269.333,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.20019,
    "h": 302.9
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#8E4CD3
secondary
#BED9A2
accent
#E44496
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8E4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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