#8E32DA#8E32DA

#8E32DA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.8% C 0.237 H 304.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8E32DA
RGBrgb(142, 50, 218)
HSLhsl(273, 69%, 53%)
HSVhsv(273, 77%, 85%)
CMYKcmyk(34.9%, 77.1%, 0%, 14.5%)
CIE-LABlab(42.90, 66.24, -69.00)
CIE-LCHlch(42.90, 95.65, 313.83°)
OKLaboklab(53.79% 0.133 -0.1967)
OKLCHoklch(53.79% 0.237 304.1)
XYZxyz(24.9479, 13.0940, 67.5292)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32DA #7EDA32
analogous
#3A32DA #8E32DA #DA32D2
triadic
#8E32DA #DA8E32 #32DA8E
tetradic
#8E32DA #DA3A32 #7EDA32 #32D2DA
square
#8E32DA #DA3A32 #7EDA32 #32D2DA
split-complementary
#8E32DA #D2DA32 #32DA3A
monochromatic
#4E167B #6E20AF #8E32DA #AB66E3 #C79AED

Accessibility & contrast

On white

5.80
#8E32DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8E32DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32DA#FFFFFF#000000##FFFFFF
##8E32DA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#7F5E85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e32da;
/* rgb */ color: rgb(142, 50, 218);
/* oklch */ color: oklch(53.8% 0.237 304.1);
Tailwind
colors: {
  custom: {
    50: '#b674e7',
    500: '#8e32da',
    950: '#000000',
  },
}
SCSS
$custom: #8e32da;
$custom-light: #b674e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32da",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 218
  },
  "hsl": {
    "h": 272.857,
    "s": 69.421,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53787,
    "c": 0.23743,
    "h": 304.1
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#8E32DA
secondary
#B0D88F
accent
#EC3C8B
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8E32DA

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

Preview Lab → · Contrast checker → · Palette generator →

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