#8022BB#8022BB

#8022BB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.220 H 307.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8022BB
RGBrgb(128, 34, 187)
HSLhsl(277, 69%, 43%)
HSVhsv(277, 82%, 73%)
CMYKcmyk(31.6%, 81.8%, 0%, 26.7%)
CIE-LABlab(36.60, 62.76, -61.35)
CIE-LCHlch(36.60, 87.76, 315.65°)
OKLaboklab(48.21% 0.1339 -0.1746)
OKLCHoklch(48.21% 0.22 307.5)
XYZxyz(18.4418, 9.3214, 47.8318)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022BB #5DBB22
analogous
#3422BB #8022BB #BB22A9
triadic
#8022BB #BB8022 #22BB80
tetradic
#8022BB #BB3422 #5DBB22 #22A9BB
square
#8022BB #BB3422 #5DBB22 #22A9BB
split-complementary
#8022BB #A9BB22 #22BB34
monochromatic
#390F53 #5D1987 #8022BB #9F3EDC #B972E5

Accessibility & contrast

On white

7.33
#8022BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8022BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022BB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022BB#FFFFFF#000000##FFFFFF
##8022BB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8022bb;
/* rgb */ color: rgb(128, 34, 187);
/* oklch */ color: oklch(48.2% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#ab6ad0',
    500: '#8022bb',
    950: '#000000',
  },
}
SCSS
$custom: #8022bb;
$custom-light: #ab6ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8022bb",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 276.863,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.22,
    "h": 307.5
  },
  "luminance": 0.09321
}

Semantic roles & 50–950 ramp

primary
#8022BB
secondary
#91CC6D
accent
#EC3C80
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8022BB

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

Preview Lab → · Contrast checker → · Palette generator →

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