#8022B0#8022B0

#8022B0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.210 H 310.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8022B0
RGBrgb(128, 34, 176)
HSLhsl(280, 68%, 41%)
HSVhsv(280, 81%, 69%)
CMYKcmyk(27.3%, 80.7%, 0%, 31%)
CIE-LABlab(35.73, 60.44, -56.24)
CIE-LCHlch(35.73, 82.56, 317.06°)
OKLaboklab(47.34% 0.1367 -0.1596)
OKLCHoklch(47.34% 0.21 310.6)
XYZxyz(17.3091, 8.8683, 41.8658)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022B0 #52B022
analogous
#3922B0 #8022B0 #B02299
triadic
#8022B0 #B08022 #22B080
tetradic
#8022B0 #B03922 #52B022 #2299B0
square
#8022B0 #B03922 #52B022 #2299B0
split-complementary
#8022B0 #99B022 #22B039
monochromatic
#350E49 #5B187D #8022B0 #A237D8 #BA6AE2

Accessibility & contrast

On white

7.57
#8022B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8022B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022B0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022B0#FFFFFF#000000##FFFFFF
##8022B01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#79466A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8022b0;
/* rgb */ color: rgb(128, 34, 176);
/* oklch */ color: oklch(47.3% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#aa69c8',
    500: '#8022b0',
    950: '#000000',
  },
}
SCSS
$custom: #8022b0;
$custom-light: #aa69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8022b0",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 176
  },
  "hsl": {
    "h": 279.718,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47338,
    "c": 0.21009,
    "h": 310.6
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#8022B0
secondary
#87C866
accent
#EA3D78
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8022B0

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

Preview Lab → · Contrast checker → · Palette generator →

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