#A02DB3#A02DB3

#A02DB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.213 H 321.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A02DB3
RGBrgb(160, 45, 179)
HSLhsl(291, 60%, 44%)
HSVhsv(291, 75%, 70%)
CMYKcmyk(10.6%, 74.9%, 0%, 29.8%)
CIE-LABlab(42.16, 63.43, -47.39)
CIE-LCHlch(42.16, 79.18, 323.24°)
OKLaboklab(52.94% 0.1669 -0.1326)
OKLCHoklch(52.94% 0.213 321.5)
XYZxyz(23.5714, 12.6063, 43.8308)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DB3 #40B32D
analogous
#5D2DB3 #A02DB3 #B32D83
triadic
#A02DB3 #B3A02D #2DB3A0
tetradic
#A02DB3 #B35D2D #40B32D #2D83B3
square
#A02DB3 #B35D2D #40B32D #2D83B3
split-complementary
#A02DB3 #83B32D #2DB35D
monochromatic
#491451 #742182 #A02DB3 #BF4BD2 #D07CDE

Accessibility & contrast

On white

5.96
#A02DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A02DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DB3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DB3#FFFFFF#000000##FFFFFF
##A02DB31.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#A1476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02db3;
/* rgb */ color: rgb(160, 45, 179);
/* oklch */ color: oklch(52.9% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#c072ca',
    500: '#a02db3',
    950: '#000000',
  },
}
SCSS
$custom: #a02db3;
$custom-light: #c072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02db3",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 291.493,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.21321,
    "h": 321.5
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#A02DB3
secondary
#81C775
accent
#E3455B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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