#A02BA3#A02BA3

#A02BA3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.202 H 326.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A02BA3
RGBrgb(160, 43, 163)
HSLhsl(299, 58%, 40%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.8%, 73.6%, 0%, 36.1%)
CIE-LABlab(40.97, 61.29, -39.78)
CIE-LCHlch(40.97, 73.07, 327.02°)
OKLaboklab(51.78% 0.1696 -0.1104)
OKLCHoklch(51.78% 0.202 326.9)
XYZxyz(21.9716, 11.8472, 35.7727)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA3 #2EA32B
analogous
#642BA3 #A02BA3 #A32B6A
triadic
#A02BA3 #A3A02B #2BA3A0
tetradic
#A02BA3 #A3642B #2EA32B #2B6AA3
square
#A02BA3 #A3642B #2EA32B #2B6AA3
split-complementary
#A02BA3 #6AA32B #2BA364
monochromatic
#411142 #701E73 #A02BA3 #C93FCC #D66FD9

Accessibility & contrast

On white

6.23
#A02BA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A02BA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BA3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BA3#FFFFFF#000000##FFFFFF
##A02BA31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A6
Deuteranopia (green-blind)
#4966A0
Tritanopia (blue-blind)
#A53F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ba3;
/* rgb */ color: rgb(160, 43, 163);
/* oklch */ color: oklch(51.8% 0.202 326.9);
Tailwind
colors: {
  custom: {
    50: '#c071bf',
    500: '#a02ba3',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba3;
$custom-light: #c071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba3",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 298.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.20235,
    "h": 326.9
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#A02BA3
secondary
#6CC06A
accent
#E1464A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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