#A02BA4#A02BA4

#A02BA4 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.203 H 326.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A02BA4
RGBrgb(160, 43, 164)
HSLhsl(298, 58%, 41%)
HSVhsv(298, 74%, 64%)
CMYKcmyk(2.4%, 73.8%, 0%, 35.7%)
CIE-LABlab(41.03, 61.46, -40.28)
CIE-LCHlch(41.03, 73.49, 326.76°)
OKLaboklab(51.84% 0.1696 -0.1119)
OKLCHoklch(51.84% 0.203 326.6)
XYZxyz(22.0615, 11.8832, 36.2465)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA4 #2FA42B
analogous
#642BA4 #A02BA4 #A42B6B
triadic
#A02BA4 #A4A02B #2BA4A0
tetradic
#A02BA4 #A4642B #2FA42B #2B6BA4
square
#A02BA4 #A4642B #2FA42B #2B6BA4
split-complementary
#A02BA4 #6BA42B #2BA464
monochromatic
#411243 #711E74 #A02BA4 #C83FCD #D670D9

Accessibility & contrast

On white

6.22
#A02BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A02BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BA4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BA4#FFFFFF#000000##FFFFFF
##A02BA41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A7
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#A43F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ba4;
/* rgb */ color: rgb(160, 43, 164);
/* oklch */ color: oklch(51.8% 0.203 326.6);
Tailwind
colors: {
  custom: {
    50: '#c071bf',
    500: '#a02ba4',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba4;
$custom-light: #c071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba4",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 298.017,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.20314,
    "h": 326.6
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#A02BA4
secondary
#6DC16A
accent
#E2464B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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