#A02ABC#A02ABC

#A02ABC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.224 H 318.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A02ABC
RGBrgb(160, 42, 188)
HSLhsl(288, 63%, 45%)
HSVhsv(288, 78%, 74%)
CMYKcmyk(14.9%, 77.7%, 0%, 26.3%)
CIE-LABlab(42.40, 66.05, -52.31)
CIE-LCHlch(42.40, 84.25, 321.62°)
OKLaboklab(53.29% 0.1686 -0.147)
OKLCHoklch(53.29% 0.224 318.9)
XYZxyz(24.4011, 12.7615, 48.7451)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02ABC #46BC2A
analogous
#572ABC #A02ABC #BC2A8F
triadic
#A02ABC #BCA02A #2ABCA0
tetradic
#A02ABC #BC572A #46BC2A #2A8FBC
square
#A02ABC #BC572A #46BC2A #2A8FBC
split-complementary
#A02ABC #8FBC2A #2ABC57
monochromatic
#4B1458 #751F8A #A02ABC #BC4CD7 #CF7EE2

Accessibility & contrast

On white

5.91
#A02ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A02ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02ABC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02ABC#FFFFFF#000000##FFFFFF
##A02ABC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#A04A73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02abc;
/* rgb */ color: rgb(160, 42, 188);
/* oklch */ color: oklch(53.3% 0.224 318.9);
Tailwind
colors: {
  custom: {
    50: '#c071d1',
    500: '#a02abc',
    950: '#000000',
  },
}
SCSS
$custom: #a02abc;
$custom-light: #c071d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02abc",
  "rgb": {
    "r": 160,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 288.493,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.22365,
    "h": 318.9
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#A02ABC
secondary
#87CB77
accent
#E74161
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A02ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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