#A02EA8#A02EA8

#A02EA8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.3% C 0.203 H 325.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A02EA8
RGBrgb(160, 46, 168)
HSLhsl(296, 57%, 42%)
HSVhsv(296, 73%, 66%)
CMYKcmyk(4.8%, 72.6%, 0%, 34.1%)
CIE-LABlab(41.62, 61.13, -41.73)
CIE-LCHlch(41.62, 74.02, 325.68°)
OKLaboklab(52.33% 0.1666 -0.1161)
OKLCHoklch(52.33% 0.203 325.1)
XYZxyz(22.5416, 12.2562, 38.2166)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02EA8 #36A82E
analogous
#632EA8 #A02EA8 #A82E73
triadic
#A02EA8 #A8A02E #2EA8A0
tetradic
#A02EA8 #A8632E #36A82E #2E73A8
square
#A02EA8 #A8632E #36A82E #2E73A8
split-complementary
#A02EA8 #73A82E #2EA863
monochromatic
#441448 #722178 #A02EA8 #C447CD #D377DA

Accessibility & contrast

On white

6.09
#A02EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A02EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02EA8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02EA8#FFFFFF#000000##FFFFFF
##A02EA81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0759AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#A44368
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a02ea8;
/* rgb */ color: rgb(160, 46, 168);
/* oklch */ color: oklch(52.3% 0.203 325.1);
Tailwind
colors: {
  custom: {
    50: '#c072c2',
    500: '#a02ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a02ea8;
$custom-light: #c072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a02ea8",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 296.066,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.20307,
    "h": 325.1
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#A02EA8
secondary
#75C270
accent
#E04852
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A02EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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