#8E3DC7#8E3DC7

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

Color values

HEX#8E3DC7
RGBrgb(142, 61, 199)
HSLhsl(275, 55%, 51%)
HSVhsv(275, 69%, 78%)
CMYKcmyk(28.6%, 69.3%, 0%, 22%)
CIE-LABlab(43.08, 57.51, -57.76)
CIE-LCHlch(43.08, 81.50, 314.88°)
OKLaboklab(53.47% 0.1264 -0.1637)
OKLCHoklch(53.47% 0.207 307.7)
XYZxyz(23.1307, 13.2121, 55.3534)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3DC7 #76C73D
analogous
#493DC7 #8E3DC7 #C73DBB
triadic
#8E3DC7 #C78E3D #3DC78E
tetradic
#8E3DC7 #C7493D #76C73D #3DBBC7
square
#8E3DC7 #C7493D #76C73D #3DBBC7
split-complementary
#8E3DC7 #BBC73D #3DC749
monochromatic
#4B1F6B #6D2D9A #8E3DC7 #AA6CD5 #C59CE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E3DC7#FFFFFF#000000##FFFFFF
##8E3DC71.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)
#0063CB
Deuteranopia (green-blind)
#1866C4
Tritanopia (blue-blind)
#855C7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3dc7;
/* rgb */ color: rgb(142, 61, 199);
/* oklch */ color: oklch(53.5% 0.207 307.7);
Tailwind
colors: {
  custom: {
    50: '#b479d9',
    500: '#8e3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #8e3dc7;
$custom-light: #b479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3dc7",
  "rgb": {
    "r": 142,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 275.217,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.20686,
    "h": 307.7
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#8E3DC7
secondary
#ABCE91
accent
#DF4987
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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