#A02BA5#A02BA5

#A02BA5 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.204 H 326.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A02BA5
RGBrgb(160, 43, 165)
HSLhsl(298, 59%, 41%)
HSVhsv(298, 74%, 65%)
CMYKcmyk(3%, 73.9%, 0%, 35.3%)
CIE-LABlab(41.09, 61.63, -40.79)
CIE-LCHlch(41.09, 73.91, 326.50°)
OKLaboklab(51.9% 0.1695 -0.1134)
OKLCHoklch(51.9% 0.204 326.2)
XYZxyz(22.1522, 11.9195, 36.7239)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA5 #30A52B
analogous
#632BA5 #A02BA5 #A52B6D
triadic
#A02BA5 #A5A02B #2BA5A0
tetradic
#A02BA5 #A5632B #30A52B #2B6DA5
square
#A02BA5 #A5632B #30A52B #2B6DA5
split-complementary
#A02BA5 #6DA52B #2BA563
monochromatic
#421244 #711E74 #A02BA5 #C740CD #D671DA

Accessibility & contrast

On white

6.21
#A02BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A02BA5
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BA5#FFFFFF#000000##FFFFFF
##A02BA51.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0658A8
Deuteranopia (green-blind)
#4866A2
Tritanopia (blue-blind)
#A43F66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ba5;
/* rgb */ color: rgb(160, 43, 165);
/* oklch */ color: oklch(51.9% 0.204 326.2);
Tailwind
colors: {
  custom: {
    50: '#c071c0',
    500: '#a02ba5',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba5;
$custom-light: #c071c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba5",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 297.541,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51898,
    "c": 0.20393,
    "h": 326.2
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#A02BA5
secondary
#6EC16B
accent
#E2464C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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