#8020B4#8020B4

#8020B4 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.215 H 309.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8020B4
RGBrgb(128, 32, 180)
HSLhsl(279, 70%, 42%)
HSVhsv(279, 82%, 71%)
CMYKcmyk(28.9%, 82.2%, 0%, 29.4%)
CIE-LABlab(35.83, 61.90, -58.47)
CIE-LCHlch(35.83, 85.15, 316.63°)
OKLaboklab(47.5% 0.1371 -0.1661)
OKLCHoklch(47.5% 0.215 309.5)
XYZxyz(17.6551, 8.9179, 43.9624)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8020B4 #54B420
analogous
#3620B4 #8020B4 #B4209E
triadic
#8020B4 #B48020 #20B480
tetradic
#8020B4 #B43620 #54B420 #209EB4
square
#8020B4 #B43620 #54B420 #209EB4
split-complementary
#8020B4 #9EB420 #20B436
monochromatic
#360E4C #5B1780 #8020B4 #A136DB #B96AE4

Accessibility & contrast

On white

7.54
#8020B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8020B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8020B4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8020B4#FFFFFF#000000##FFFFFF
##8020B41.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#78476C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8020b4;
/* rgb */ color: rgb(128, 32, 180);
/* oklch */ color: oklch(47.5% 0.215 309.5);
Tailwind
colors: {
  custom: {
    50: '#aa69cb',
    500: '#8020b4',
    950: '#000000',
  },
}
SCSS
$custom: #8020b4;
$custom-light: #aa69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8020b4",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 278.919,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47502,
    "c": 0.21539,
    "h": 309.5
  },
  "luminance": 0.08918
}

Semantic roles & 50–950 ramp

primary
#8020B4
secondary
#89CA66
accent
#ED3B7A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8020B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8020B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva