#A02EA6#A02EA6

#A02EA6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.201 H 325.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A02EA6
RGBrgb(160, 46, 166)
HSLhsl(297, 57%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3.6%, 72.3%, 0%, 34.9%)
CIE-LABlab(41.50, 60.78, -40.72)
CIE-LCHlch(41.50, 73.16, 326.18°)
OKLaboklab(52.21% 0.1667 -0.1132)
OKLCHoklch(52.21% 0.201 325.8)
XYZxyz(22.3567, 12.1822, 37.2429)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA6 #34A62E
analogous
#642EA6 #A02EA6 #A62E70
triadic
#A02EA6 #A6A02E #2EA6A0
tetradic
#A02EA6 #A6642E #34A62E #2E70A6
square
#A02EA6 #A6642E #34A62E #2E70A6
split-complementary
#A02EA6 #70A62E #2EA664
monochromatic
#441346 #722176 #A02EA6 #C546CC #D476D9

Accessibility & contrast

On white

6.11
#A02EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A02EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA6#FFFFFF#000000##FFFFFF
##A02EA61.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59A9
Deuteranopia (green-blind)
#4867A3
Tritanopia (blue-blind)
#A44267
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ea6;
/* rgb */ color: rgb(160, 46, 166);
/* oklch */ color: oklch(52.2% 0.201 325.8);
Tailwind
colors: {
  custom: {
    50: '#c072c1',
    500: '#a02ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea6;
$custom-light: #c072c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea6",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 297,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.20146,
    "h": 325.8
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#A02EA6
secondary
#73C16F
accent
#E04850
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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