#8020BB#8020BB

#8020BB is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 48.1% C 0.222 H 307.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8020BB
RGBrgb(128, 32, 187)
HSLhsl(277, 71%, 43%)
HSVhsv(277, 83%, 73%)
CMYKcmyk(31.6%, 82.9%, 0%, 26.7%)
CIE-LABlab(36.39, 63.37, -61.70)
CIE-LCHlch(36.39, 88.44, 315.77°)
OKLaboklab(48.07% 0.1352 -0.1756)
OKLCHoklch(48.07% 0.222 307.6)
XYZxyz(18.3863, 9.2103, 47.8132)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8020BB #5BBB20
analogous
#3220BB #8020BB #BB20A8
triadic
#8020BB #BB8020 #20BB80
tetradic
#8020BB #BB3220 #5BBB20 #20A8BB
square
#8020BB #BB3220 #5BBB20 #20A8BB
split-complementary
#8020BB #A8BB20 #20BB32
monochromatic
#380E52 #5C1787 #8020BB #A03BDD #B96FE6

Accessibility & contrast

On white

7.39
#8020BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8020BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8020BB
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8020BB#FFFFFF#000000##FFFFFF
##8020BB1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#764B70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8020bb;
/* rgb */ color: rgb(128, 32, 187);
/* oklch */ color: oklch(48.1% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#ab69d0',
    500: '#8020bb',
    950: '#000000',
  },
}
SCSS
$custom: #8020bb;
$custom-light: #ab69d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8020bb",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 277.161,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.22162,
    "h": 307.6
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#8020BB
secondary
#90CD6A
accent
#EE3A7F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8020BB

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

Preview Lab → · Contrast checker → · Palette generator →

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