#8A32AD#8A32AD

#8A32AD is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.194 H 314.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8A32AD
RGBrgb(138, 50, 173)
HSLhsl(283, 55%, 44%)
HSVhsv(283, 71%, 68%)
CMYKcmyk(20.2%, 71.1%, 0%, 32.2%)
CIE-LABlab(39.07, 55.80, -48.98)
CIE-LCHlch(39.07, 74.24, 318.73°)
OKLaboklab(49.94% 0.1357 -0.138)
OKLCHoklch(49.94% 0.194 314.5)
XYZxyz(19.1634, 10.7023, 40.5833)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32AD #55AD32
analogous
#4C32AD #8A32AD #AD3292
triadic
#8A32AD #AD8A32 #32AD8A
tetradic
#8A32AD #AD4C32 #55AD32 #3292AD
square
#8A32AD #AD4C32 #55AD32 #3292AD
split-complementary
#8A32AD #92AD32 #32AD4C
monochromatic
#3E174E #64247E #8A32AD #A950CC #C07FDA

Accessibility & contrast

On white

6.69
#8A32AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8A32AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32AD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32AD#FFFFFF#000000##FFFFFF
##8A32AD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#874C6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a32ad;
/* rgb */ color: rgb(138, 50, 173);
/* oklch */ color: oklch(49.9% 0.194 314.5);
Tailwind
colors: {
  custom: {
    50: '#b072c6',
    500: '#8a32ad',
    950: '#000000',
  },
}
SCSS
$custom: #8a32ad;
$custom-light: #b072c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32ad",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 282.927,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49937,
    "c": 0.19358,
    "h": 314.5
  },
  "luminance": 0.10702
}

Semantic roles & 50–950 ramp

primary
#8A32AD
secondary
#8DC378
accent
#DE4974
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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