#A02EB2#A02EB2

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

Color values

HEX#A02EB2
RGBrgb(160, 46, 178)
HSLhsl(292, 59%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(10.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(42.22, 62.91, -46.71)
CIE-LCHlch(42.22, 78.35, 323.41°)
OKLaboklab(52.96% 0.1661 -0.1306)
OKLCHoklch(52.96% 0.211 321.8)
XYZxyz(23.5092, 12.6432, 43.3129)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EB2 #40B22E
analogous
#5E2EB2 #A02EB2 #B22E82
triadic
#A02EB2 #B2A02E #2EB2A0
tetradic
#A02EB2 #B25E2E #40B22E #2E82B2
square
#A02EB2 #B25E2E #40B22E #2E82B2
split-complementary
#A02EB2 #82B22E #2EB25E
monochromatic
#491551 #742181 #A02EB2 #BF4CD1 #D07DDD

Accessibility & contrast

On white

5.95
#A02EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A02EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EB2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EB2#FFFFFF#000000##FFFFFF
##A02EB21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#A2476E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a02eb2;
/* rgb */ color: rgb(160, 46, 178);
/* oklch */ color: oklch(53.0% 0.211 321.8);
Tailwind
colors: {
  custom: {
    50: '#c073ca',
    500: '#a02eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a02eb2;
$custom-light: #c073ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eb2",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 291.818,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.21133,
    "h": 321.8
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#A02EB2
secondary
#81C676
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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