#A02EB1#A02EB1

#A02EB1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.210 H 322.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A02EB1
RGBrgb(160, 46, 177)
HSLhsl(292, 59%, 44%)
HSVhsv(292, 74%, 69%)
CMYKcmyk(9.6%, 74%, 0%, 30.6%)
CIE-LABlab(42.16, 62.73, -46.22)
CIE-LCHlch(42.16, 77.92, 323.62°)
OKLaboklab(52.89% 0.1662 -0.1292)
OKLCHoklch(52.89% 0.21 322.1)
XYZxyz(23.4092, 12.6032, 42.7861)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EB1 #3FB12E
analogous
#5E2EB1 #A02EB1 #B12E80
triadic
#A02EB1 #B1A02E #2EB1A0
tetradic
#A02EB1 #B15E2E #3FB12E #2E80B1
square
#A02EB1 #B15E2E #3FB12E #2E80B1
split-complementary
#A02EB1 #80B12E #2EB15E
monochromatic
#481550 #742180 #A02EB1 #BF4CD0 #D07CDD

Accessibility & contrast

On white

5.97
#A02EB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A02EB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EB1
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EB1#FFFFFF#000000##FFFFFF
##A02EB11.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A2476D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a02eb1;
/* rgb */ color: rgb(160, 46, 177);
/* oklch */ color: oklch(52.9% 0.210 322.1);
Tailwind
colors: {
  custom: {
    50: '#c073c9',
    500: '#a02eb1',
    950: '#000000',
  },
}
SCSS
$custom: #a02eb1;
$custom-light: #c073c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a02eb1",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 292.214,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.21049,
    "h": 322.1
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#A02EB1
secondary
#80C675
accent
#E2465A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A02EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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