#8023AC#8023AC

#8023AC is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.1% C 0.206 H 311.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8023AC
RGBrgb(128, 35, 172)
HSLhsl(281, 66%, 41%)
HSVhsv(281, 80%, 67%)
CMYKcmyk(25.6%, 79.7%, 0%, 32.5%)
CIE-LABlab(35.54, 59.28, -54.17)
CIE-LCHlch(35.54, 80.30, 317.58°)
OKLaboklab(47.11% 0.1368 -0.1535)
OKLCHoklch(47.11% 0.206 311.7)
XYZxyz(16.9481, 8.7703, 39.8218)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023AC #4FAC23
analogous
#3B23AC #8023AC #AC2393
triadic
#8023AC #AC8023 #23AC80
tetradic
#8023AC #AC3B23 #4FAC23 #2393AC
square
#8023AC #AC3B23 #4FAC23 #2393AC
split-complementary
#8023AC #93AC23 #23AC3B
monochromatic
#340E46 #5A1979 #8023AC #A336D6 #BA69E0

Accessibility & contrast

On white

7.63
#8023AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8023AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023AC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023AC#FFFFFF#000000##FFFFFF
##8023AC1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#7A4568
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8023ac;
/* rgb */ color: rgb(128, 35, 172);
/* oklch */ color: oklch(47.1% 0.206 311.7);
Tailwind
colors: {
  custom: {
    50: '#aa6ac6',
    500: '#8023ac',
    950: '#000000',
  },
}
SCSS
$custom: #8023ac;
$custom-light: #aa6ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#8023ac",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 280.73,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.20559,
    "h": 311.7
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#8023AC
secondary
#84C664
accent
#E93F75
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8023AC

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

Preview Lab → · Contrast checker → · Palette generator →

#8023AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva