#8E3DC6#8E3DC6

#8E3DC6 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.206 H 307.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8E3DC6
RGBrgb(142, 61, 198)
HSLhsl(275, 55%, 51%)
HSVhsv(275, 69%, 78%)
CMYKcmyk(28.3%, 69.2%, 0%, 22.4%)
CIE-LABlab(43.01, 57.28, -57.29)
CIE-LCHlch(43.01, 81.01, 315.00°)
OKLaboklab(53.4% 0.1266 -0.1623)
OKLCHoklch(53.4% 0.206 307.9)
XYZxyz(23.0150, 13.1658, 54.7440)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DC6 #75C63D
analogous
#493DC6 #8E3DC6 #C63DBA
triadic
#8E3DC6 #C68E3D #3DC68E
tetradic
#8E3DC6 #C6493D #75C63D #3DBAC6
square
#8E3DC6 #C6493D #75C63D #3DBAC6
split-complementary
#8E3DC6 #BAC63D #3DC649
monochromatic
#4B1F6A #6D2D99 #8E3DC6 #AA6CD4 #C59CE2

Accessibility & contrast

On white

5.78
#8E3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8E3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3DC6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3DC6#FFFFFF#000000##FFFFFF
##8E3DC61.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#1B66C3
Tritanopia (blue-blind)
#855B7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3dc6;
/* rgb */ color: rgb(142, 61, 198);
/* oklch */ color: oklch(53.4% 0.206 307.9);
Tailwind
colors: {
  custom: {
    50: '#b479d8',
    500: '#8e3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dc6;
$custom-light: #b479d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dc6",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 275.474,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.20585,
    "h": 307.9
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#8E3DC6
secondary
#AACE91
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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