#8E4CD5#8E4CD5

#8E4CD5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.202 H 302.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8E4CD5
RGBrgb(142, 76, 213)
HSLhsl(269, 62%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(46.61, 53.65, -60.12)
CIE-LCHlch(46.61, 80.58, 311.74°)
OKLaboklab(56.31% 0.1087 -0.1708)
OKLCHoklch(56.31% 0.202 302.5)
XYZxyz(25.7472, 15.7237, 64.6164)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CD5 #93D54C
analogous
#4C4FD5 #8E4CD5 #D34CD5
triadic
#8E4CD5 #D58E4C #4CD58E
tetradic
#8E4CD5 #D54C4F #93D54C #4CD5D3
square
#8E4CD5 #D54C4F #93D54C #4CD5D3
split-complementary
#8E4CD5 #D5D34C #4FD54C
monochromatic
#512087 #6F2BB9 #8E4CD5 #AD7EE1 #CDAFEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E4CD5#FFFFFF#000000##FFFFFF
##8E4CD51.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)
#006DD9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#806A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e4cd5;
/* rgb */ color: rgb(142, 76, 213);
/* oklch */ color: oklch(56.3% 0.202 302.5);
Tailwind
colors: {
  custom: {
    50: '#b482e3',
    500: '#8e4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cd5;
$custom-light: #b482e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cd5",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 268.905,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56306,
    "c": 0.2024,
    "h": 302.5
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#8E4CD5
secondary
#BFDAA2
accent
#E54397
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8E4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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