#A02AB8#A02AB8

#A02AB8 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 320.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A02AB8
RGBrgb(160, 42, 184)
HSLhsl(290, 63%, 44%)
HSVhsv(290, 77%, 72%)
CMYKcmyk(13%, 77.2%, 0%, 27.8%)
CIE-LABlab(42.14, 65.31, -50.38)
CIE-LCHlch(42.14, 82.48, 322.36°)
OKLaboklab(53.02% 0.1691 -0.1414)
OKLCHoklch(53.02% 0.22 320.1)
XYZxyz(23.9758, 12.5915, 46.5056)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02AB8 #42B82A
analogous
#592AB8 #A02AB8 #B82A89
triadic
#A02AB8 #B8A02A #2AB8A0
tetradic
#A02AB8 #B8592A #42B82A #2A89B8
square
#A02AB8 #B8592A #42B82A #2A89B8
split-complementary
#A02AB8 #89B82A #2AB859
monochromatic
#491354 #751F86 #A02AB8 #BE4AD6 #D07BE1

Accessibility & contrast

On white

5.97
#A02AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A02AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02AB8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02AB8#FFFFFF#000000##FFFFFF
##A02AB81.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBC
Deuteranopia (green-blind)
#3867B5
Tritanopia (blue-blind)
#A04870
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02ab8;
/* rgb */ color: rgb(160, 42, 184);
/* oklch */ color: oklch(53.0% 0.220 320.1);
Tailwind
colors: {
  custom: {
    50: '#c071ce',
    500: '#a02ab8',
    950: '#000000',
  },
}
SCSS
$custom: #a02ab8;
$custom-light: #c071ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ab8",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 289.859,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.22036,
    "h": 320.1
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#A02AB8
secondary
#83C975
accent
#E6425E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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