#A02E98#A02E98

#A02E98 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.190 H 331.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A02E98
RGBrgb(160, 46, 152)
HSLhsl(304, 55%, 40%)
HSVhsv(304, 71%, 63%)
CMYKcmyk(0%, 71.2%, 5%, 37.3%)
CIE-LABlab(40.73, 58.43, -33.54)
CIE-LCHlch(40.73, 67.37, 330.14°)
OKLaboklab(51.41% 0.1664 -0.0923)
OKLCHoklch(51.41% 0.19 331)
XYZxyz(21.1417, 11.6962, 30.8438)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02E98 #2EA036
analogous
#6F2EA0 #A02E98 #A02E5F
triadic
#A02E98 #98A02E #2E98A0
tetradic
#A02E98 #A06F2E #2EA036 #2E5FA0
square
#A02E98 #A06F2E #2EA036 #2E5FA0
split-complementary
#A02E98 #5FA02E #2EA06F
monochromatic
#41133E #70206B #A02E98 #C942BF #D672CF

Accessibility & contrast

On white

6.29
#A02E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A02E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02E98
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02E98#FFFFFF#000000##FFFFFF
##A02E981.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#506695
Tritanopia (blue-blind)
#A63B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a02e98;
/* rgb */ color: rgb(160, 46, 152);
/* oklch */ color: oklch(51.4% 0.190 331.0);
Tailwind
colors: {
  custom: {
    50: '#c072b7',
    500: '#a02e98',
    950: '#000000',
  },
}
SCSS
$custom: #a02e98;
$custom-light: #c072b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02e98",
  "rgb": {
    "r": 160,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 304.211,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.19034,
    "h": 331
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#A02E98
secondary
#6CBE72
accent
#DF5449
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02E98

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

Preview Lab → · Contrast checker → · Palette generator →

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