#8A32C9#8A32C9

#8A32C9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.220 H 306.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A32C9
RGBrgb(138, 50, 201)
HSLhsl(275, 60%, 49%)
HSVhsv(275, 75%, 79%)
CMYKcmyk(31.3%, 75.1%, 0%, 21.2%)
CIE-LABlab(41.06, 61.80, -62.22)
CIE-LCHlch(41.06, 87.70, 314.81°)
OKLaboklab(51.97% 0.1314 -0.1769)
OKLCHoklch(51.97% 0.22 306.6)
XYZxyz(22.1622, 11.9018, 56.3768)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32C9 #71C932
analogous
#3F32C9 #8A32C9 #C932BD
triadic
#8A32C9 #C98A32 #32C98A
tetradic
#8A32C9 #C93F32 #71C932 #32BDC9
square
#8A32C9 #C93F32 #71C932 #32BDC9
split-complementary
#8A32C9 #BDC932 #32C93F
monochromatic
#471A67 #682698 #8A32C9 #A661D8 #C292E4

Accessibility & contrast

On white

6.21
#8A32C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A32C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32C9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32C9#FFFFFF#000000##FFFFFF
##8A32C91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#7F577C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a32c9;
/* rgb */ color: rgb(138, 50, 201);
/* oklch */ color: oklch(52.0% 0.220 306.6);
Tailwind
colors: {
  custom: {
    50: '#b273da',
    500: '#8a32c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a32c9;
$custom-light: #b273da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32c9",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 274.967,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5197,
    "c": 0.22035,
    "h": 306.6
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#8A32C9
secondary
#A6CF88
accent
#E34487
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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