#8A32AF#8A32AF

#8A32AF is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 313.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8A32AF
RGBrgb(138, 50, 175)
HSLhsl(282, 56%, 44%)
HSVhsv(282, 71%, 69%)
CMYKcmyk(21.1%, 71.4%, 0%, 31.4%)
CIE-LABlab(39.21, 56.22, -49.95)
CIE-LCHlch(39.21, 75.20, 318.38°)
OKLaboklab(50.08% 0.1355 -0.1409)
OKLCHoklch(50.08% 0.195 313.9)
XYZxyz(19.3584, 10.7803, 41.6102)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AF #57AF32
analogous
#4C32AF #8A32AF #AF3296
triadic
#8A32AF #AF8A32 #32AF8A
tetradic
#8A32AF #AF4C32 #57AF32 #3296AF
square
#8A32AF #AF4C32 #57AF32 #3296AF
split-complementary
#8A32AF #96AF32 #32AF4C
monochromatic
#3F1750 #64247F #8A32AF #A851CD #C081DB

Accessibility & contrast

On white

6.65
#8A32AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8A32AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AF#FFFFFF#000000##FFFFFF
##8A32AF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#864C6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32af;
/* rgb */ color: rgb(138, 50, 175);
/* oklch */ color: oklch(50.1% 0.195 313.9);
Tailwind
colors: {
  custom: {
    50: '#b072c8',
    500: '#8a32af',
    950: '#000000',
  },
}
SCSS
$custom: #8a32af;
$custom-light: #b072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32af",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 282.24,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50075,
    "c": 0.19547,
    "h": 313.9
  },
  "luminance": 0.1078
}

Semantic roles & 50–950 ramp

primary
#8A32AF
secondary
#8FC479
accent
#DF4975
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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