#8032AA#8032AA

#8032AA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.187 H 311.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8032AA
RGBrgb(128, 50, 170)
HSLhsl(279, 55%, 43%)
HSVhsv(279, 71%, 67%)
CMYKcmyk(24.7%, 70.6%, 0%, 33.3%)
CIE-LABlab(37.43, 53.03, -49.91)
CIE-LCHlch(37.43, 72.82, 316.74°)
OKLaboklab(48.4% 0.123 -0.1411)
OKLCHoklch(48.4% 0.187 311.1)
XYZxyz(17.2970, 9.7731, 38.9976)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032AA #5CAA32
analogous
#4432AA #8032AA #AA3298
triadic
#8032AA #AA8032 #32AA80
tetradic
#8032AA #AA4432 #5CAA32 #3298AA
square
#8032AA #AA4432 #5CAA32 #3298AA
split-complementary
#8032AA #98AA32 #32AA44
monochromatic
#39164B #5C247B #8032AA #9F4ECB #B97DD9

Accessibility & contrast

On white

7.11
#8032AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8032AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8032AA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8032AA#FFFFFF#000000##FFFFFF
##8032AA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#2159A7
Tritanopia (blue-blind)
#7B4C6A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8032aa;
/* rgb */ color: rgb(128, 50, 170);
/* oklch */ color: oklch(48.4% 0.187 311.1);
Tailwind
colors: {
  custom: {
    50: '#a971c4',
    500: '#8032aa',
    950: '#000000',
  },
}
SCSS
$custom: #8032aa;
$custom-light: #a971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8032aa",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 279,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.18719,
    "h": 311.1
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#8032AA
secondary
#91C276
accent
#DE4A7E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8032AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8032AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva