#8E3AC8#8E3AC8

#8E3AC8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.211 H 307.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8E3AC8
RGBrgb(142, 58, 200)
HSLhsl(275, 56%, 51%)
HSVhsv(275, 71%, 78%)
CMYKcmyk(29%, 71%, 0%, 21.6%)
CIE-LABlab(42.68, 59.04, -58.98)
CIE-LCHlch(42.68, 83.45, 315.03°)
OKLaboklab(53.21% 0.1294 -0.1673)
OKLCHoklch(53.21% 0.211 307.7)
XYZxyz(23.0915, 12.9474, 55.9150)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3AC8 #74C83A
analogous
#473AC8 #8E3AC8 #C83ABB
triadic
#8E3AC8 #C88E3A #3AC88E
tetradic
#8E3AC8 #C8473A #74C83A #3ABBC8
square
#8E3AC8 #C8473A #74C83A #3ABBC8
split-complementary
#8E3AC8 #BBC83A #3AC847
monochromatic
#4B1E6A #6D2B9A #8E3AC8 #A96AD5 #C59AE3

Accessibility & contrast

On white

5.85
#8E3AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8E3AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3AC8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3AC8#FFFFFF#000000##FFFFFF
##8E3AC81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0D66C5
Tritanopia (blue-blind)
#855B7D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e3ac8;
/* rgb */ color: rgb(142, 58, 200);
/* oklch */ color: oklch(53.2% 0.211 307.7);
Tailwind
colors: {
  custom: {
    50: '#b477da',
    500: '#8e3ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ac8;
$custom-light: #b477da;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ac8",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 200
  },
  "hsl": {
    "h": 275.493,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53211,
    "c": 0.21147,
    "h": 307.7
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#8E3AC8
secondary
#A9CE8F
accent
#E04886
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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