#A02BA8#A02BA8

#A02BA8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.206 H 325.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A02BA8
RGBrgb(160, 43, 168)
HSLhsl(296, 59%, 41%)
HSVhsv(296, 74%, 66%)
CMYKcmyk(4.8%, 74.4%, 0%, 34.1%)
CIE-LABlab(41.26, 62.15, -42.30)
CIE-LCHlch(41.26, 75.18, 325.76°)
OKLaboklab(52.08% 0.1694 -0.1178)
OKLCHoklch(52.08% 0.206 325.2)
XYZxyz(22.4284, 12.0300, 38.1789)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02BA8 #33A82B
analogous
#622BA8 #A02BA8 #A82B72
triadic
#A02BA8 #A8A02B #2BA8A0
tetradic
#A02BA8 #A8622B #33A82B #2B72A8
square
#A02BA8 #A8622B #33A82B #2B72A8
split-complementary
#A02BA8 #72A82B #2BA862
monochromatic
#431247 #721F77 #A02BA8 #C642CF #D472DB

Accessibility & contrast

On white

6.17
#A02BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A02BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02BA8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02BA8#FFFFFF#000000##FFFFFF
##A02BA81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4666A5
Tritanopia (blue-blind)
#A44168
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a02ba8;
/* rgb */ color: rgb(160, 43, 168);
/* oklch */ color: oklch(52.1% 0.206 325.2);
Tailwind
colors: {
  custom: {
    50: '#c071c2',
    500: '#a02ba8',
    950: '#000000',
  },
}
SCSS
$custom: #a02ba8;
$custom-light: #c071c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ba8",
  "rgb": {
    "r": 160,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 296.16,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5208,
    "c": 0.20633,
    "h": 325.2
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#A02BA8
secondary
#72C26C
accent
#E2454F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A02BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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