#8E3DD2#8E3DD2

#8E3DD2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.218 H 304.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8E3DD2
RGBrgb(142, 61, 210)
HSLhsl(273, 62%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(32.4%, 71%, 0%, 17.6%)
CIE-LABlab(43.86, 59.99, -62.85)
CIE-LCHlch(43.86, 86.89, 313.67°)
OKLaboklab(54.27% 0.1248 -0.1787)
OKLCHoklch(54.27% 0.218 304.9)
XYZxyz(24.4543, 13.7416, 62.3244)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DD2 #81D23D
analogous
#433DD2 #8E3DD2 #D23DCC
triadic
#8E3DD2 #D28E3D #3DD28E
tetradic
#8E3DD2 #D2433D #81D23D #3DCCD2
square
#8E3DD2 #D2433D #81D23D #3DCCD2
split-complementary
#8E3DD2 #CCD23D #3DD243
monochromatic
#4E1C79 #6F28AA #8E3DD2 #AB6FDE #C8A0E9

Accessibility & contrast

On white

5.60
#8E3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8E3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DD2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DD2#FFFFFF#000000##FFFFFF
##8E3DD21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#816084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e3dd2;
/* rgb */ color: rgb(142, 61, 210);
/* oklch */ color: oklch(54.3% 0.218 304.9);
Tailwind
colors: {
  custom: {
    50: '#b479e1',
    500: '#8e3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dd2;
$custom-light: #b479e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dd2",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 272.617,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.21798,
    "h": 304.9
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#8E3DD2
secondary
#B3D695
accent
#E5428D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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