#8032B5#8032B5

#8032B5 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 307.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8032B5
RGBrgb(128, 50, 181)
HSLhsl(276, 57%, 45%)
HSVhsv(276, 72%, 71%)
CMYKcmyk(29.3%, 72.4%, 0%, 29%)
CIE-LABlab(38.21, 55.48, -55.19)
CIE-LCHlch(38.21, 78.25, 315.15°)
OKLaboklab(49.2% 0.1215 -0.1566)
OKLCHoklch(49.2% 0.198 307.8)
XYZxyz(18.3814, 10.2069, 44.7089)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032B5 #67B532
analogous
#3E32B5 #8032B5 #B532A9
triadic
#8032B5 #B58032 #32B580
tetradic
#8032B5 #B53E32 #67B532 #32A9B5
square
#8032B5 #B53E32 #67B532 #32A9B5
split-complementary
#8032B5 #A9B532 #32B53E
monochromatic
#3C1855 #5E2585 #8032B5 #9E54D0 #B984DD

Accessibility & contrast

On white

6.90
#8032B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8032B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8032B5#FFFFFF#000000##FFFFFF
##8032B51.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#055BB2
Tritanopia (blue-blind)
#775070
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8032b5;
/* rgb */ color: rgb(128, 50, 181);
/* oklch */ color: oklch(49.2% 0.198 307.8);
Tailwind
colors: {
  custom: {
    50: '#aa71cc',
    500: '#8032b5',
    950: '#000000',
  },
}
SCSS
$custom: #8032b5;
$custom-light: #aa71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8032b5",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 181
  },
  "hsl": {
    "h": 275.725,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49203,
    "c": 0.19819,
    "h": 307.8
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#8032B5
secondary
#9AC77C
accent
#E04885
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8032B5

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

Preview Lab → · Contrast checker → · Palette generator →

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