#8E3ACD#8E3ACD

#8E3ACD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.216 H 306.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8E3ACD
RGBrgb(142, 58, 205)
HSLhsl(274, 60%, 52%)
HSVhsv(274, 72%, 80%)
CMYKcmyk(30.7%, 71.7%, 0%, 19.6%)
CIE-LABlab(43.04, 60.16, -61.30)
CIE-LCHlch(43.04, 85.89, 314.46°)
OKLaboklab(53.58% 0.1286 -0.1741)
OKLCHoklch(53.58% 0.216 306.4)
XYZxyz(23.6854, 13.1849, 59.0429)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3ACD #79CD3A
analogous
#453ACD #8E3ACD #CD3AC2
triadic
#8E3ACD #CD8E3A #3ACD8E
tetradic
#8E3ACD #CD453A #79CD3A #3AC2CD
square
#8E3ACD #CD453A #79CD3A #3AC2CD
split-complementary
#8E3ACD #C2CD3A #3ACD45
monochromatic
#4C1C70 #6D29A1 #8E3ACD #AA6BD9 #C69CE6

Accessibility & contrast

On white

5.77
#8E3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8E3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3ACD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3ACD#FFFFFF#000000##FFFFFF
##8E3ACD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#835D80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3acd;
/* rgb */ color: rgb(142, 58, 205);
/* oklch */ color: oklch(53.6% 0.216 306.4);
Tailwind
colors: {
  custom: {
    50: '#b477dd',
    500: '#8e3acd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3acd;
$custom-light: #b477dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3acd",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 274.286,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.21644,
    "h": 306.4
  },
  "luminance": 0.13185
}

Semantic roles & 50–950 ramp

primary
#8E3ACD
secondary
#ADD291
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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