#8022A2#8022A2

#8022A2 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.198 H 314.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8022A2
RGBrgb(128, 34, 162)
HSLhsl(284, 65%, 38%)
HSVhsv(284, 79%, 64%)
CMYKcmyk(21%, 79%, 0%, 36.5%)
CIE-LABlab(34.69, 57.57, -49.54)
CIE-LCHlch(34.69, 75.95, 319.29°)
OKLaboklab(46.28% 0.1396 -0.1399)
OKLCHoklch(46.28% 0.198 314.9)
XYZxyz(15.9946, 8.3425, 34.9431)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022A2 #44A222
analogous
#4022A2 #8022A2 #A22284
triadic
#8022A2 #A28022 #22A280
tetradic
#8022A2 #A24022 #44A222 #2284A2
square
#8022A2 #A24022 #44A222 #2284A2
split-complementary
#8022A2 #84A222 #22A240
monochromatic
#300D3D #58176F #8022A2 #A72ED3 #BD61DE

Accessibility & contrast

On white

7.87
#8022A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8022A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022A2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022A2#FFFFFF#000000##FFFFFF
##8022A21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#1B549F
Tritanopia (blue-blind)
#7D4062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8022a2;
/* rgb */ color: rgb(128, 34, 162);
/* oklch */ color: oklch(46.3% 0.198 314.9);
Tailwind
colors: {
  custom: {
    50: '#a969be',
    500: '#8022a2',
    950: '#000000',
  },
}
SCSS
$custom: #8022a2;
$custom-light: #a969be;
$custom-dark: #000000;
JSON
{
  "hex": "#8022a2",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 284.063,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.19759,
    "h": 314.9
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#8022A2
secondary
#78C35D
accent
#E8406C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8022A2

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

Preview Lab → · Contrast checker → · Palette generator →

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