#A02AB1#A02AB1

#A02AB1 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.215 H 322.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A02AB1
RGBrgb(160, 42, 177)
HSLhsl(292, 62%, 43%)
HSVhsv(292, 76%, 69%)
CMYKcmyk(9.6%, 76.3%, 0%, 30.6%)
CIE-LABlab(41.70, 64.05, -46.96)
CIE-LCHlch(41.70, 79.42, 323.76°)
OKLaboklab(52.56% 0.1698 -0.1313)
OKLCHoklch(52.56% 0.215 322.3)
XYZxyz(23.2602, 12.3052, 42.7364)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AB1 #3BB12A
analogous
#5C2AB1 #A02AB1 #B12A7F
triadic
#A02AB1 #B1A02A #2AB1A0
tetradic
#A02AB1 #B15C2A #3BB12A #2A7FB1
square
#A02AB1 #B15C2A #3BB12A #2A7FB1
split-complementary
#A02AB1 #7FB12A #2AB15C
monochromatic
#47134E #731E80 #A02AB1 #C145D3 #D277DF

Accessibility & contrast

On white

6.07
#A02AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A02AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AB1
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AB1#FFFFFF#000000##FFFFFF
##A02AB11.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3E67AE
Tritanopia (blue-blind)
#A2456C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ab1;
/* rgb */ color: rgb(160, 42, 177);
/* oklch */ color: oklch(52.6% 0.215 322.3);
Tailwind
colors: {
  custom: {
    50: '#c071c9',
    500: '#a02ab1',
    950: '#000000',
  },
}
SCSS
$custom: #a02ab1;
$custom-light: #c071c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ab1",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 292.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.21463,
    "h": 322.3
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#A02AB1
secondary
#7BC670
accent
#E54357
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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