#8A32CE#8A32CE

#8A32CE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.4% C 0.225 H 305.4°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A32CE
RGBrgb(138, 50, 206)
HSLhsl(274, 61%, 50%)
HSVhsv(274, 76%, 81%)
CMYKcmyk(33%, 75.7%, 0%, 19.2%)
CIE-LABlab(41.44, 62.91, -64.50)
CIE-LCHlch(41.44, 90.10, 314.28°)
OKLaboklab(52.36% 0.1303 -0.1836)
OKLCHoklch(52.36% 0.225 305.4)
XYZxyz(22.7599, 12.1409, 59.5249)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32CE #76CE32
analogous
#3C32CE #8A32CE #CE32C4
triadic
#8A32CE #CE8A32 #32CE8A
tetradic
#8A32CE #CE3C32 #76CE32 #32C4CE
square
#8A32CE #CE3C32 #76CE32 #32C4CE
split-complementary
#8A32CE #C4CE32 #32CE3C
monochromatic
#481A6C #69269D #8A32CE #A663DA #C295E6

Accessibility & contrast

On white

6.13
#8A32CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A32CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32CE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32CE#FFFFFF#000000##FFFFFF
##8A32CE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#7D597F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a32ce;
/* rgb */ color: rgb(138, 50, 206);
/* oklch */ color: oklch(52.4% 0.225 305.4);
Tailwind
colors: {
  custom: {
    50: '#b273de',
    500: '#8a32ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a32ce;
$custom-light: #b273de;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32ce",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 206
  },
  "hsl": {
    "h": 273.846,
    "s": 61.417,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.22515,
    "h": 305.4
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#8A32CE
secondary
#A9D18B
accent
#E5438A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A32CE

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

Preview Lab → · Contrast checker → · Palette generator →

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