#8A32D2#8A32D2

#8A32D2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.7% C 0.229 H 304.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A32D2
RGBrgb(138, 50, 210)
HSLhsl(273, 64%, 51%)
HSVhsv(273, 76%, 82%)
CMYKcmyk(34.3%, 76.2%, 0%, 17.6%)
CIE-LABlab(41.75, 63.80, -66.31)
CIE-LCHlch(41.75, 92.02, 313.89°)
OKLaboklab(52.67% 0.1294 -0.1889)
OKLCHoklch(52.67% 0.229 304.4)
XYZxyz(23.2520, 12.3377, 62.1167)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32D2 #7AD232
analogous
#3A32D2 #8A32D2 #D232CA
triadic
#8A32D2 #D28A32 #32D28A
tetradic
#8A32D2 #D23A32 #7AD232 #32CAD2
square
#8A32D2 #D23A32 #7AD232 #32CAD2
split-complementary
#8A32D2 #CAD232 #32D23A
monochromatic
#491971 #6A24A3 #8A32D2 #A764DD #C396E8

Accessibility & contrast

On white

6.06
#8A32D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A32D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32D2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32D2#FFFFFF#000000##FFFFFF
##8A32D21.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#7C5B81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a32d2;
/* rgb */ color: rgb(138, 50, 210);
/* oklch */ color: oklch(52.7% 0.229 304.4);
Tailwind
colors: {
  custom: {
    50: '#b273e1',
    500: '#8a32d2',
    950: '#000000',
  },
}
SCSS
$custom: #8a32d2;
$custom-light: #b273e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32d2",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 210
  },
  "hsl": {
    "h": 273,
    "s": 64,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.22899,
    "h": 304.4
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#8A32D2
secondary
#ACD38C
accent
#E7418C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A32D2

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

Preview Lab → · Contrast checker → · Palette generator →

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