#8032AC#8032AC

#8032AC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.189 H 310.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8032AC
RGBrgb(128, 50, 172)
HSLhsl(278, 55%, 44%)
HSVhsv(278, 71%, 67%)
CMYKcmyk(25.6%, 70.9%, 0%, 32.5%)
CIE-LABlab(37.57, 53.47, -50.88)
CIE-LCHlch(37.57, 73.81, 316.42°)
OKLaboklab(48.55% 0.1228 -0.1439)
OKLCHoklch(48.55% 0.189 310.5)
XYZxyz(17.4876, 9.8493, 40.0016)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032AC #5EAC32
analogous
#4332AC #8032AC #AC329B
triadic
#8032AC #AC8032 #32AC80
tetradic
#8032AC #AC4332 #5EAC32 #329BAC
square
#8032AC #AC4332 #5EAC32 #329BAC
split-complementary
#8032AC #9BAC32 #32AC43
monochromatic
#39164D #5D247D #8032AC #9F4FCC #B97FDA

Accessibility & contrast

On white

7.07
#8032AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8032AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8032AC#FFFFFF#000000##FFFFFF
##8032AC1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#7A4D6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8032ac;
/* rgb */ color: rgb(128, 50, 172);
/* oklch */ color: oklch(48.5% 0.189 310.5);
Tailwind
colors: {
  custom: {
    50: '#a971c5',
    500: '#8032ac',
    950: '#000000',
  },
}
SCSS
$custom: #8032ac;
$custom-light: #a971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8032ac",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 278.361,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.18919,
    "h": 310.5
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#8032AC
secondary
#92C377
accent
#DE4A7F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8032AC

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

Preview Lab → · Contrast checker → · Palette generator →

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