#8022AF#8022AF

#8022AF is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.209 H 310.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8022AF
RGBrgb(128, 34, 175)
HSLhsl(280, 67%, 41%)
HSVhsv(280, 81%, 69%)
CMYKcmyk(26.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(35.65, 60.23, -55.77)
CIE-LCHlch(35.65, 82.09, 317.20°)
OKLaboklab(47.26% 0.1369 -0.1582)
OKLCHoklch(47.26% 0.209 310.9)
XYZxyz(17.2105, 8.8288, 41.3466)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8022AF #51AF22
analogous
#3922AF #8022AF #AF2297
triadic
#8022AF #AF8022 #22AF80
tetradic
#8022AF #AF3922 #51AF22 #2297AF
square
#8022AF #AF3922 #51AF22 #2297AF
split-complementary
#8022AF #97AF22 #22AF39
monochromatic
#350E49 #5B187C #8022AF #A236D8 #BA69E2

Accessibility & contrast

On white

7.59
#8022AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8022AF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8022AF#FFFFFF#000000##FFFFFF
##8022AF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#7A4669
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8022af;
/* rgb */ color: rgb(128, 34, 175);
/* oklch */ color: oklch(47.3% 0.209 310.9);
Tailwind
colors: {
  custom: {
    50: '#aa69c8',
    500: '#8022af',
    950: '#000000',
  },
}
SCSS
$custom: #8022af;
$custom-light: #aa69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8022af",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 280,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4726,
    "c": 0.2092,
    "h": 310.9
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#8022AF
secondary
#86C865
accent
#EA3D77
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8022AF

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

Preview Lab → · Contrast checker → · Palette generator →

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