#A02BAB#A02BAB

#A02BAB is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.209 H 324.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A02BAB
RGBrgb(160, 43, 171)
HSLhsl(295, 60%, 42%)
HSVhsv(295, 75%, 67%)
CMYKcmyk(6.4%, 74.9%, 0%, 32.9%)
CIE-LABlab(41.44, 62.67, -43.80)
CIE-LCHlch(41.44, 76.46, 325.05°)
OKLaboklab(52.26% 0.1693 -0.1221)
OKLCHoklch(52.26% 0.209 324.2)
XYZxyz(22.7111, 12.1430, 39.6678)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BAB #36AB2B
analogous
#602BAB #A02BAB #AB2B76
triadic
#A02BAB #ABA02B #2BABA0
tetradic
#A02BAB #AB602B #36AB2B #2B76AB
square
#A02BAB #AB602B #36AB2B #2B76AB
split-complementary
#A02BAB #76AB2B #2BAB60
monochromatic
#441249 #721F7A #A02BAB #C443D0 #D374DC

Accessibility & contrast

On white

6.13
#A02BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A02BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BAB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BAB#FFFFFF#000000##FFFFFF
##A02BAB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4466A8
Tritanopia (blue-blind)
#A34269
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02bab;
/* rgb */ color: rgb(160, 43, 171);
/* oklch */ color: oklch(52.3% 0.209 324.2);
Tailwind
colors: {
  custom: {
    50: '#c071c4',
    500: '#a02bab',
    950: '#000000',
  },
}
SCSS
$custom: #a02bab;
$custom-light: #c071c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a02bab",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 294.844,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.20874,
    "h": 324.2
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#A02BAB
secondary
#75C46E
accent
#E34552
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02BAB

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

Preview Lab → · Contrast checker → · Palette generator →

#A02BAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva