#8032AB#8032AB

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

Color values

HEX#8032AB
RGBrgb(128, 50, 171)
HSLhsl(279, 55%, 43%)
HSVhsv(279, 71%, 67%)
CMYKcmyk(25.1%, 70.8%, 0%, 32.9%)
CIE-LABlab(37.50, 53.25, -50.39)
CIE-LCHlch(37.50, 73.32, 316.58°)
OKLaboklab(48.47% 0.1229 -0.1425)
OKLCHoklch(48.47% 0.188 310.8)
XYZxyz(17.3920, 9.8111, 39.4977)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032AB #5DAB32
analogous
#4432AB #8032AB #AB3299
triadic
#8032AB #AB8032 #32AB80
tetradic
#8032AB #AB4432 #5DAB32 #3299AB
square
#8032AB #AB4432 #5DAB32 #3299AB
split-complementary
#8032AB #99AB32 #32AB44
monochromatic
#39164C #5D247C #8032AB #9F4FCB #B97ED9

Accessibility & contrast

On white

7.09
#8032AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8032AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8032AB#FFFFFF#000000##FFFFFF
##8032AB1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#1F5AA8
Tritanopia (blue-blind)
#7A4C6B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8032ab;
/* rgb */ color: rgb(128, 50, 171);
/* oklch */ color: oklch(48.5% 0.188 310.8);
Tailwind
colors: {
  custom: {
    50: '#a971c5',
    500: '#8032ab',
    950: '#000000',
  },
}
SCSS
$custom: #8032ab;
$custom-light: #a971c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8032ab",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 278.678,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.18819,
    "h": 310.8
  },
  "luminance": 0.09811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8032AB

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

Preview Lab → · Contrast checker → · Palette generator →

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