#8E32BD#8E32BD

#8E32BD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.210 H 311.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8E32BD
RGBrgb(142, 50, 189)
HSLhsl(280, 58%, 47%)
HSVhsv(280, 74%, 74%)
CMYKcmyk(24.9%, 73.5%, 0%, 25.9%)
CIE-LABlab(40.75, 59.96, -55.70)
CIE-LCHlch(40.75, 81.84, 317.11°)
OKLaboklab(51.59% 0.1388 -0.1576)
OKLCHoklch(51.59% 0.21 311.4)
XYZxyz(21.4795, 11.7067, 49.2624)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E32BD #61BD32
analogous
#4832BD #8E32BD #BD32A7
triadic
#8E32BD #BD8E32 #32BD8E
tetradic
#8E32BD #BD4832 #61BD32 #32A7BD
square
#8E32BD #BD4832 #61BD32 #32A7BD
split-complementary
#8E32BD #A7BD32 #32BD48
monochromatic
#45185C #6A258D #8E32BD #AA59D3 #C389E0

Accessibility & contrast

On white

6.29
#8E32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8E32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E32BD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E32BD#FFFFFF#000000##FFFFFF
##8E32BD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#885275
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e32bd;
/* rgb */ color: rgb(142, 50, 189);
/* oklch */ color: oklch(51.6% 0.210 311.4);
Tailwind
colors: {
  custom: {
    50: '#b473d2',
    500: '#8e32bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e32bd;
$custom-light: #b473d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e32bd",
  "rgb": {
    "r": 142,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 279.712,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51591,
    "c": 0.21004,
    "h": 311.4
  },
  "luminance": 0.11706
}

Semantic roles & 50–950 ramp

primary
#8E32BD
secondary
#9ACA81
accent
#E1467B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8E32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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