#8E3AC2#8E3AC2

#8E3AC2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.206 H 309.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8E3AC2
RGBrgb(142, 58, 194)
HSLhsl(277, 54%, 49%)
HSVhsv(277, 70%, 76%)
CMYKcmyk(26.8%, 70.1%, 0%, 23.9%)
CIE-LABlab(42.27, 57.72, -56.17)
CIE-LCHlch(42.27, 80.54, 315.78°)
OKLaboklab(52.78% 0.1302 -0.159)
OKLCHoklch(52.78% 0.206 309.3)
XYZxyz(22.4040, 12.6724, 52.2943)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3AC2 #6EC23A
analogous
#4A3AC2 #8E3AC2 #C23AB2
triadic
#8E3AC2 #C28E3A #3AC28E
tetradic
#8E3AC2 #C24A3A #6EC23A #3AB2C2
square
#8E3AC2 #C24A3A #6EC23A #3AB2C2
split-complementary
#8E3AC2 #B2C23A #3AC24A
monochromatic
#491E64 #6C2C93 #8E3AC2 #A967D2 #C497E0

Accessibility & contrast

On white

5.94
#8E3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8E3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3AC2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3AC2#FFFFFF#000000##FFFFFF
##8E3AC21.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#1E65BF
Tritanopia (blue-blind)
#86587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e3ac2;
/* rgb */ color: rgb(142, 58, 194);
/* oklch */ color: oklch(52.8% 0.206 309.3);
Tailwind
colors: {
  custom: {
    50: '#b377d5',
    500: '#8e3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8e3ac2;
$custom-light: #b377d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3ac2",
  "rgb": {
    "r": 142,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 277.059,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52781,
    "c": 0.20553,
    "h": 309.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#8E3AC2
secondary
#A5CB8D
accent
#DD4A83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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