#8023AB#8023AB

#8023AB is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.0% C 0.205 H 312.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8023AB
RGBrgb(128, 35, 171)
HSLhsl(281, 66%, 40%)
HSVhsv(281, 80%, 67%)
CMYKcmyk(25.1%, 79.5%, 0%, 32.9%)
CIE-LABlab(35.46, 59.07, -53.69)
CIE-LCHlch(35.46, 79.83, 317.73°)
OKLaboklab(47.03% 0.137 -0.1521)
OKLCHoklch(47.03% 0.205 312)
XYZxyz(16.8524, 8.7320, 39.3179)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023AB #4EAB23
analogous
#3C23AB #8023AB #AB2392
triadic
#8023AB #AB8023 #23AB80
tetradic
#8023AB #AB3C23 #4EAB23 #2392AB
square
#8023AB #AB3C23 #4EAB23 #2392AB
split-complementary
#8023AB #92AB23 #23AB3C
monochromatic
#340E45 #5A1978 #8023AB #A335D6 #BA68E0

Accessibility & contrast

On white

7.65
#8023AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8023AB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023AB#FFFFFF#000000##FFFFFF
##8023AB1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#7B4567
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8023ab;
/* rgb */ color: rgb(128, 35, 171);
/* oklch */ color: oklch(47.0% 0.205 312.0);
Tailwind
colors: {
  custom: {
    50: '#aa6ac5',
    500: '#8023ab',
    950: '#000000',
  },
}
SCSS
$custom: #8023ab;
$custom-light: #aa6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8023ab",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 281.029,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47032,
    "c": 0.20468,
    "h": 312
  },
  "luminance": 0.08732
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8023AB

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

Preview Lab → · Contrast checker → · Palette generator →

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