#A02DA6#A02DA6

#A02DA6 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 325.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A02DA6
RGBrgb(160, 45, 166)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(3.6%, 72.9%, 0%, 34.9%)
CIE-LABlab(41.38, 61.13, -40.92)
CIE-LCHlch(41.38, 73.56, 326.20°)
OKLaboklab(52.13% 0.1676 -0.1137)
OKLCHoklch(52.13% 0.203 325.8)
XYZxyz(22.3181, 12.1050, 37.2300)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02DA6 #33A62D
analogous
#642DA6 #A02DA6 #A62D70
triadic
#A02DA6 #A6A02D #2DA6A0
tetradic
#A02DA6 #A6642D #33A62D #2D70A6
square
#A02DA6 #A6642D #33A62D #2D70A6
split-complementary
#A02DA6 #70A62D #2DA664
monochromatic
#431346 #722076 #A02DA6 #C644CC #D474D9

Accessibility & contrast

On white

6.14
#A02DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A02DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02DA6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02DA6#FFFFFF#000000##FFFFFF
##A02DA61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A58A9
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#A44167
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02da6;
/* rgb */ color: rgb(160, 45, 166);
/* oklch */ color: oklch(52.1% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#c072c1',
    500: '#a02da6',
    950: '#000000',
  },
}
SCSS
$custom: #a02da6;
$custom-light: #c072c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02da6",
  "rgb": {
    "r": 160,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 297.025,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.20256,
    "h": 325.8
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#A02DA6
secondary
#72C16E
accent
#E1474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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