#A02EB4#A02EB4

#A02EB4 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.213 H 321.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A02EB4
RGBrgb(160, 46, 180)
HSLhsl(291, 59%, 44%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(11.1%, 74.4%, 0%, 29.4%)
CIE-LABlab(42.34, 63.27, -47.69)
CIE-LCHlch(42.34, 79.23, 322.99°)
OKLaboklab(53.08% 0.1659 -0.1335)
OKLCHoklch(53.08% 0.213 321.2)
XYZxyz(23.7115, 12.7242, 44.3782)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EB4 #42B42E
analogous
#5D2EB4 #A02EB4 #B42E85
triadic
#A02EB4 #B4A02E #2EB4A0
tetradic
#A02EB4 #B45D2E #42B42E #2E85B4
square
#A02EB4 #B45D2E #42B42E #2E85B4
split-complementary
#A02EB4 #85B42E #2EB45D
monochromatic
#491553 #752283 #A02EB4 #BE4ED2 #D07EDE

Accessibility & contrast

On white

5.92
#A02EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A02EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EB4
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EB4#FFFFFF#000000##FFFFFF
##A02EB41.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#A1486F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02eb4;
/* rgb */ color: rgb(160, 46, 180);
/* oklch */ color: oklch(53.1% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c073cb',
    500: '#a02eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a02eb4;
$custom-light: #c073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eb4",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 291.045,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.21299,
    "h": 321.2
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#A02EB4
secondary
#83C777
accent
#E2455D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A02EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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