#8022A7#8022A7

#8022A7 is a mid, highly saturated purple. Relative luminance 0.085; OKLCH L 46.7% C 0.202 H 313.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#8022A7
RGBrgb(128, 34, 167)
HSLhsl(282, 66%, 39%)
HSVhsv(282, 80%, 65%)
CMYKcmyk(23.4%, 79.6%, 0%, 34.5%)
CIE-LABlab(35.05, 58.58, -51.96)
CIE-LCHlch(35.05, 78.31, 318.43°)
OKLaboklab(46.65% 0.1386 -0.147)
OKLCHoklch(46.65% 0.202 313.3)
XYZxyz(16.4479, 8.5238, 37.3306)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022A7 #49A722
analogous
#3E22A7 #8022A7 #A7228C
triadic
#8022A7 #A78022 #22A780
tetradic
#8022A7 #A73E22 #49A722 #228CA7
square
#8022A7 #A73E22 #49A722 #228CA7
split-complementary
#8022A7 #8CA722 #22A73E
monochromatic
#320D41 #591874 #8022A7 #A531D5 #BB64DF

Accessibility & contrast

On white

7.76
#8022A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8022A7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022A7#FFFFFF#000000##FFFFFF
##8022A71.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0F54A4
Tritanopia (blue-blind)
#7C4265
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8022a7;
/* rgb */ color: rgb(128, 34, 167);
/* oklch */ color: oklch(46.7% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#a969c2',
    500: '#8022a7',
    950: '#000000',
  },
}
SCSS
$custom: #8022a7;
$custom-light: #a969c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8022a7",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 282.406,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.20205,
    "h": 313.3
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8022A7

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

Preview Lab → · Contrast checker → · Palette generator →

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