#8A32C6#8A32C6

#8A32C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.217 H 307.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8A32C6
RGBrgb(138, 50, 198)
HSLhsl(276, 60%, 49%)
HSVhsv(276, 75%, 78%)
CMYKcmyk(30.3%, 74.7%, 0%, 22.4%)
CIE-LABlab(40.84, 61.14, -60.84)
CIE-LCHlch(40.84, 86.25, 315.14°)
OKLaboklab(51.74% 0.132 -0.1728)
OKLCHoklch(51.74% 0.217 307.4)
XYZxyz(21.8127, 11.7620, 54.5363)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32C6 #6EC632
analogous
#4032C6 #8A32C6 #C632B8
triadic
#8A32C6 #C68A32 #32C68A
tetradic
#8A32C6 #C64032 #6EC632 #32B8C6
square
#8A32C6 #C64032 #6EC632 #32B8C6
split-complementary
#8A32C6 #B8C632 #32C640
monochromatic
#461964 #682695 #8A32C6 #A65FD7 #C190E3

Accessibility & contrast

On white

6.26
#8A32C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A32C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32C6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32C6#FFFFFF#000000##FFFFFF
##8A32C61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#80567A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a32c6;
/* rgb */ color: rgb(138, 50, 198);
/* oklch */ color: oklch(51.7% 0.217 307.4);
Tailwind
colors: {
  custom: {
    50: '#b173d8',
    500: '#8a32c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a32c6;
$custom-light: #b173d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32c6",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 275.676,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.21746,
    "h": 307.4
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#8A32C6
secondary
#A3CD86
accent
#E34585
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A32C6

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

Preview Lab → · Contrast checker → · Palette generator →

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