#A02899#A02899

#A02899 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.198 H 330.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A02899
RGBrgb(160, 40, 153)
HSLhsl(304, 60%, 39%)
HSVhsv(304, 75%, 63%)
CMYKcmyk(0%, 75%, 4.4%, 37.3%)
CIE-LABlab(40.07, 60.62, -35.19)
CIE-LCHlch(40.07, 70.09, 329.87°)
OKLaboklab(50.95% 0.1723 -0.0971)
OKLCHoklch(50.95% 0.198 330.6)
XYZxyz(21.0057, 11.2927, 31.2042)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02899 #28A02F
analogous
#6B28A0 #A02899 #A0285D
triadic
#A02899 #99A028 #2899A0
tetradic
#A02899 #A06B28 #28A02F #285DA0
square
#A02899 #A06B28 #28A02F #285DA0
split-complementary
#A02899 #5DA028 #28A06B
monochromatic
#3E103B #6F1C6A #A02899 #CD38C5 #D969D3

Accessibility & contrast

On white

6.45
#A02899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A02899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02899
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02899#FFFFFF#000000##FFFFFF
##A028991.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A6385E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02899;
/* rgb */ color: rgb(160, 40, 153);
/* oklch */ color: oklch(51.0% 0.198 330.6);
Tailwind
colors: {
  custom: {
    50: '#c06fb7',
    500: '#a02899',
    950: '#000000',
  },
}
SCSS
$custom: #a02899;
$custom-light: #c06fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02899",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 303.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.19779,
    "h": 330.6
  },
  "luminance": 0.11291
}

Semantic roles & 50–950 ramp

primary
#A02899
secondary
#64C069
accent
#E34E45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02899

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

Preview Lab → · Contrast checker → · Palette generator →

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