#8022B1#8022B1

#8022B1 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.4% C 0.211 H 310.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8022B1
RGBrgb(128, 34, 177)
HSLhsl(279, 68%, 41%)
HSVhsv(279, 81%, 69%)
CMYKcmyk(27.7%, 80.8%, 0%, 30.6%)
CIE-LABlab(35.81, 60.65, -56.71)
CIE-LCHlch(35.81, 83.03, 316.92°)
OKLaboklab(47.42% 0.1364 -0.161)
OKLCHoklch(47.42% 0.211 310.3)
XYZxyz(17.4084, 8.9080, 42.3888)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022B1 #53B122
analogous
#3922B1 #8022B1 #B1229B
triadic
#8022B1 #B18022 #22B180
tetradic
#8022B1 #B13922 #53B122 #229BB1
square
#8022B1 #B13922 #53B122 #229BB1
split-complementary
#8022B1 #9BB122 #22B139
monochromatic
#360E4A #5B187E #8022B1 #A138D9 #BA6BE3

Accessibility & contrast

On white

7.55
#8022B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8022B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022B1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022B1#FFFFFF#000000##FFFFFF
##8022B11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#79476B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8022b1;
/* rgb */ color: rgb(128, 34, 177);
/* oklch */ color: oklch(47.4% 0.211 310.3);
Tailwind
colors: {
  custom: {
    50: '#aa6ac9',
    500: '#8022b1',
    950: '#000000',
  },
}
SCSS
$custom: #8022b1;
$custom-light: #aa6ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8022b1",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 177
  },
  "hsl": {
    "h": 279.441,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.21099,
    "h": 310.3
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#8022B1
secondary
#88C966
accent
#EB3D79
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8022B1

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

Preview Lab → · Contrast checker → · Palette generator →

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