#8A32B7#8A32B7

#8A32B7 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.203 H 311.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A32B7
RGBrgb(138, 50, 183)
HSLhsl(280, 57%, 46%)
HSVhsv(280, 73%, 72%)
CMYKcmyk(24.6%, 72.7%, 0%, 28.2%)
CIE-LABlab(39.75, 57.90, -53.80)
CIE-LCHlch(39.75, 79.04, 317.10°)
OKLaboklab(50.64% 0.1345 -0.1522)
OKLCHoklch(50.64% 0.203 311.5)
XYZxyz(20.1675, 11.1039, 45.8714)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32B7 #5FB732
analogous
#4732B7 #8A32B7 #B732A1
triadic
#8A32B7 #B78A32 #32B78A
tetradic
#8A32B7 #B74732 #5FB732 #32A1B7
square
#8A32B7 #B74732 #5FB732 #32A1B7
split-complementary
#8A32B7 #A1B732 #32B747
monochromatic
#421857 #662587 #8A32B7 #A756D1 #C086DE

Accessibility & contrast

On white

6.52
#8A32B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A32B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32B7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32B7#FFFFFF#000000##FFFFFF
##8A32B71.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#1E5FB4
Tritanopia (blue-blind)
#845072
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a32b7;
/* rgb */ color: rgb(138, 50, 183);
/* oklch */ color: oklch(50.6% 0.203 311.5);
Tailwind
colors: {
  custom: {
    50: '#b072cd',
    500: '#8a32b7',
    950: '#000000',
  },
}
SCSS
$custom: #8a32b7;
$custom-light: #b072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32b7",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 183
  },
  "hsl": {
    "h": 279.699,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.2031,
    "h": 311.5
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#8A32B7
secondary
#96C77D
accent
#E0477B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A32B7

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

Preview Lab → · Contrast checker → · Palette generator →

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