#8A32D3#8A32D3

#8A32D3 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.7% C 0.230 H 304.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A32D3
RGBrgb(138, 50, 211)
HSLhsl(273, 65%, 51%)
HSVhsv(273, 76%, 83%)
CMYKcmyk(34.6%, 76.3%, 0%, 17.3%)
CIE-LABlab(41.83, 64.02, -66.76)
CIE-LCHlch(41.83, 92.50, 313.80°)
OKLaboklab(52.75% 0.1292 -0.1902)
OKLCHoklch(52.75% 0.23 304.2)
XYZxyz(23.3770, 12.3877, 62.7749)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32D3 #7BD332
analogous
#3932D3 #8A32D3 #D332CB
triadic
#8A32D3 #D38A32 #32D38A
tetradic
#8A32D3 #D33932 #7BD332 #32CBD3
square
#8A32D3 #D33932 #7BD332 #32CBD3
split-complementary
#8A32D3 #CBD332 #32D339
monochromatic
#491872 #6A23A4 #8A32D3 #A764DE #C497E9

Accessibility & contrast

On white

6.04
#8A32D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A32D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32D3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32D3#FFFFFF#000000##FFFFFF
##8A32D31.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#7C5C81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a32d3;
/* rgb */ color: rgb(138, 50, 211);
/* oklch */ color: oklch(52.7% 0.230 304.2);
Tailwind
colors: {
  custom: {
    50: '#b273e2',
    500: '#8a32d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a32d3;
$custom-light: #b273e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32d3",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 211
  },
  "hsl": {
    "h": 272.795,
    "s": 64.659,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.22995,
    "h": 304.2
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#8A32D3
secondary
#ADD48D
accent
#E8408C
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8A32D3

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

Preview Lab → · Contrast checker → · Palette generator →

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