#8E4DD3#8E4DD3

#8E4DD3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.199 H 302.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8E4DD3
RGBrgb(142, 77, 211)
HSLhsl(269, 60%, 56%)
HSVhsv(269, 64%, 83%)
CMYKcmyk(32.7%, 63.5%, 0%, 17.3%)
CIE-LABlab(46.66, 52.66, -58.90)
CIE-LCHlch(46.66, 79.01, 311.80°)
OKLaboklab(56.3% 0.1077 -0.1671)
OKLCHoklch(56.3% 0.199 302.8)
XYZxyz(25.5644, 15.7617, 63.3109)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4DD3 #92D34D
analogous
#4D4FD3 #8E4DD3 #D14DD3
triadic
#8E4DD3 #D38E4D #4DD38E
tetradic
#8E4DD3 #D34D4F #92D34D #4DD3D1
square
#8E4DD3 #D34D4F #92D34D #4DD3D1
split-complementary
#8E4DD3 #D3D14D #4FD34D
monochromatic
#512185 #6F2DB6 #8E4DD3 #AD7EDF #CCAFEB

Accessibility & contrast

On white

5.06
#8E4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8E4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4DD3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4DD3#FFFFFF#000000##FFFFFF
##8E4DD31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#806A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4dd3;
/* rgb */ color: rgb(142, 77, 211);
/* oklch */ color: oklch(56.3% 0.199 302.8);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8e4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8e4dd3;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4dd3",
  "rgb": {
    "r": 142,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 269.104,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.563,
    "c": 0.19883,
    "h": 302.8
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#8E4DD3
secondary
#BFD9A2
accent
#E44496
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8E4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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