#8022A8#8022A8

#8022A8 is a mid, highly saturated purple. Relative luminance 0.086; OKLCH L 46.7% C 0.203 H 313.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#8022A8
RGBrgb(128, 34, 168)
HSLhsl(282, 66%, 40%)
HSVhsv(282, 80%, 66%)
CMYKcmyk(23.8%, 79.8%, 0%, 34.1%)
CIE-LABlab(35.12, 58.79, -52.44)
CIE-LCHlch(35.12, 78.78, 318.27°)
OKLaboklab(46.73% 0.1384 -0.1484)
OKLCHoklch(46.73% 0.203 313)
XYZxyz(16.5407, 8.5609, 37.8193)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022A8 #4AA822
analogous
#3D22A8 #8022A8 #A8228D
triadic
#8022A8 #A88022 #22A880
tetradic
#8022A8 #A83D22 #4AA822 #228DA8
square
#8022A8 #A83D22 #4AA822 #228DA8
split-complementary
#8022A8 #8DA822 #22A83D
monochromatic
#320D42 #591875 #8022A8 #A532D5 #BB65E0

Accessibility & contrast

On white

7.74
#8022A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8022A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022A8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022A8#FFFFFF#000000##FFFFFF
##8022A81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0C55A5
Tritanopia (blue-blind)
#7B4365
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8022a8;
/* rgb */ color: rgb(128, 34, 168);
/* oklch */ color: oklch(46.7% 0.203 313.0);
Tailwind
colors: {
  custom: {
    50: '#a969c3',
    500: '#8022a8',
    950: '#000000',
  },
}
SCSS
$custom: #8022a8;
$custom-light: #a969c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8022a8",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 282.09,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.20294,
    "h": 313
  },
  "luminance": 0.0856
}

Semantic roles & 50–950 ramp

primary
#8022A8
secondary
#7FC561
accent
#E93F71
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8022A8

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

Preview Lab → · Contrast checker → · Palette generator →

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