#A02DB2#A02DB2

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

Color values

HEX#A02DB2
RGBrgb(160, 45, 178)
HSLhsl(292, 60%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(10.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(42.10, 63.25, -46.90)
CIE-LCHlch(42.10, 78.74, 323.44°)
OKLaboklab(52.87% 0.167 -0.1312)
OKLCHoklch(52.87% 0.212 321.8)
XYZxyz(23.4706, 12.5660, 43.3001)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DB2 #3FB22D
analogous
#5D2DB2 #A02DB2 #B22D81
triadic
#A02DB2 #B2A02D #2DB2A0
tetradic
#A02DB2 #B25D2D #3FB22D #2D81B2
square
#A02DB2 #B25D2D #3FB22D #2D81B2
split-complementary
#A02DB2 #81B22D #2DB25D
monochromatic
#481450 #742181 #A02DB2 #BF4BD1 #D07CDE

Accessibility & contrast

On white

5.98
#A02DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A02DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DB2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DB2#FFFFFF#000000##FFFFFF
##A02DB21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#3F68AF
Tritanopia (blue-blind)
#A2476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02db2;
/* rgb */ color: rgb(160, 45, 178);
/* oklch */ color: oklch(52.9% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#c072ca',
    500: '#a02db2',
    950: '#000000',
  },
}
SCSS
$custom: #a02db2;
$custom-light: #c072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02db2",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 291.88,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.21238,
    "h": 321.8
  },
  "luminance": 0.12565
}

Semantic roles & 50–950 ramp

primary
#A02DB2
secondary
#80C675
accent
#E3455A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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