#8022A6#8022A6

#8022A6 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.6% C 0.201 H 313.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8022A6
RGBrgb(128, 34, 166)
HSLhsl(283, 66%, 39%)
HSVhsv(283, 80%, 65%)
CMYKcmyk(22.9%, 79.5%, 0%, 34.9%)
CIE-LABlab(34.98, 58.38, -51.48)
CIE-LCHlch(34.98, 77.83, 318.59°)
OKLaboklab(46.58% 0.1388 -0.1456)
OKLCHoklch(46.58% 0.201 313.6)
XYZxyz(16.3558, 8.4870, 36.8456)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022A6 #48A622
analogous
#3E22A6 #8022A6 #A6228A
triadic
#8022A6 #A68022 #22A680
tetradic
#8022A6 #A63E22 #48A622 #228AA6
square
#8022A6 #A63E22 #48A622 #228AA6
split-complementary
#8022A6 #8AA622 #22A63E
monochromatic
#320D40 #591873 #8022A6 #A530D5 #BB63DF

Accessibility & contrast

On white

7.79
#8022A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8022A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8022A6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022A6#FFFFFF#000000##FFFFFF
##8022A61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#1254A3
Tritanopia (blue-blind)
#7C4264
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8022a6;
/* rgb */ color: rgb(128, 34, 166);
/* oklch */ color: oklch(46.6% 0.201 313.6);
Tailwind
colors: {
  custom: {
    50: '#a969c1',
    500: '#8022a6',
    950: '#000000',
  },
}
SCSS
$custom: #8022a6;
$custom-light: #a969c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8022a6",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 282.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.20115,
    "h": 313.6
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#8022A6
secondary
#7DC45F
accent
#E93F70
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8022A6

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

Preview Lab → · Contrast checker → · Palette generator →

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