#8A32C7#8A32C7

#8A32C7 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.218 H 307.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A32C7
RGBrgb(138, 50, 199)
HSLhsl(275, 60%, 49%)
HSVhsv(275, 75%, 78%)
CMYKcmyk(30.7%, 74.9%, 0%, 22%)
CIE-LABlab(40.91, 61.36, -61.30)
CIE-LCHlch(40.91, 86.74, 315.03°)
OKLaboklab(51.82% 0.1318 -0.1742)
OKLCHoklch(51.82% 0.218 307.1)
XYZxyz(21.9284, 11.8083, 55.1458)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32C7 #6FC732
analogous
#4032C7 #8A32C7 #C732BA
triadic
#8A32C7 #C78A32 #32C78A
tetradic
#8A32C7 #C74032 #6FC732 #32BAC7
square
#8A32C7 #C74032 #6FC732 #32BAC7
split-complementary
#8A32C7 #BAC732 #32C740
monochromatic
#461965 #682696 #8A32C7 #A65FD7 #C190E3

Accessibility & contrast

On white

6.25
#8A32C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A32C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32C7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32C7#FFFFFF#000000##FFFFFF
##8A32C71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#80567B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a32c7;
/* rgb */ color: rgb(138, 50, 199);
/* oklch */ color: oklch(51.8% 0.218 307.1);
Tailwind
colors: {
  custom: {
    50: '#b273d9',
    500: '#8a32c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a32c7;
$custom-light: #b273d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32c7",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 275.436,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51818,
    "c": 0.21843,
    "h": 307.1
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#8A32C7
secondary
#A4CE87
accent
#E34586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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