#A02DB7#A02DB7

#A02DB7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.217 H 320.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A02DB7
RGBrgb(160, 45, 183)
HSLhsl(290, 61%, 45%)
HSVhsv(290, 75%, 72%)
CMYKcmyk(12.6%, 75.4%, 0%, 28.2%)
CIE-LABlab(42.42, 64.16, -49.35)
CIE-LCHlch(42.42, 80.94, 322.44°)
OKLaboklab(53.19% 0.1666 -0.1384)
OKLCHoklch(53.19% 0.217 320.3)
XYZxyz(23.9818, 12.7705, 45.9923)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DB7 #44B72D
analogous
#5B2DB7 #A02DB7 #B72D89
triadic
#A02DB7 #B7A02D #2DB7A0
tetradic
#A02DB7 #B75B2D #44B72D #2D89B7
square
#A02DB7 #B75B2D #44B72D #2D89B7
split-complementary
#A02DB7 #89B72D #2DB75B
monochromatic
#4A1555 #752186 #A02DB7 #BD4ED3 #CF7FDF

Accessibility & contrast

On white

5.91
#A02DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A02DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DB7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DB7#FFFFFF#000000##FFFFFF
##A02DB71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#A14971
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02db7;
/* rgb */ color: rgb(160, 45, 183);
/* oklch */ color: oklch(53.2% 0.217 320.3);
Tailwind
colors: {
  custom: {
    50: '#c072cd',
    500: '#a02db7',
    950: '#000000',
  },
}
SCSS
$custom: #a02db7;
$custom-light: #c072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a02db7",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 290,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.21655,
    "h": 320.3
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#A02DB7
secondary
#85C878
accent
#E4445F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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