#8032B2#8032B2

#8032B2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.195 H 308.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8032B2
RGBrgb(128, 50, 178)
HSLhsl(277, 56%, 45%)
HSVhsv(277, 72%, 70%)
CMYKcmyk(28.1%, 71.9%, 0%, 30.2%)
CIE-LABlab(37.99, 54.80, -53.76)
CIE-LCHlch(37.99, 76.77, 315.55°)
OKLaboklab(48.98% 0.122 -0.1524)
OKLCHoklch(48.98% 0.195 308.7)
XYZxyz(18.0769, 10.0851, 43.1052)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8032B2 #64B232
analogous
#4032B2 #8032B2 #B232A4
triadic
#8032B2 #B28032 #32B280
tetradic
#8032B2 #B24032 #64B232 #32A4B2
square
#8032B2 #B24032 #64B232 #32A4B2
split-complementary
#8032B2 #A4B232 #32B240
monochromatic
#3B1752 #5E2582 #8032B2 #9E53CF #B982DC

Accessibility & contrast

On white

6.96
#8032B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8032B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8032B2#FFFFFF#000000##FFFFFF
##8032B21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#105AAF
Tritanopia (blue-blind)
#784F6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8032b2;
/* rgb */ color: rgb(128, 50, 178);
/* oklch */ color: oklch(49.0% 0.195 308.7);
Tailwind
colors: {
  custom: {
    50: '#a971ca',
    500: '#8032b2',
    950: '#000000',
  },
}
SCSS
$custom: #8032b2;
$custom-light: #a971ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8032b2",
  "rgb": {
    "r": 128,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 276.563,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48981,
    "c": 0.19519,
    "h": 308.7
  },
  "luminance": 0.10085
}

Semantic roles & 50–950 ramp

primary
#8032B2
secondary
#98C57B
accent
#DF4883
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8032B2

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

Preview Lab → · Contrast checker → · Palette generator →

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