#A02898#A02898

#A02898 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.197 H 331.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A02898
RGBrgb(160, 40, 152)
HSLhsl(304, 60%, 39%)
HSVhsv(304, 75%, 63%)
CMYKcmyk(0%, 75%, 5%, 37.3%)
CIE-LABlab(40.01, 60.46, -34.67)
CIE-LCHlch(40.01, 69.70, 330.17°)
OKLaboklab(50.89% 0.1723 -0.0956)
OKLCHoklch(50.89% 0.197 331)
XYZxyz(20.9235, 11.2598, 30.7710)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02898 #28A030
analogous
#6C28A0 #A02898 #A0285C
triadic
#A02898 #98A028 #2898A0
tetradic
#A02898 #A06C28 #28A030 #285CA0
square
#A02898 #A06C28 #28A030 #285CA0
split-complementary
#A02898 #5CA028 #28A06C
monochromatic
#3E103B #6F1C69 #A02898 #CD38C3 #D969D2

Accessibility & contrast

On white

6.46
#A02898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A02898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02898
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02898#FFFFFF#000000##FFFFFF
##A028981.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#A6375E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a02898;
/* rgb */ color: rgb(160, 40, 152);
/* oklch */ color: oklch(50.9% 0.197 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06fb7',
    500: '#a02898',
    950: '#000000',
  },
}
SCSS
$custom: #a02898;
$custom-light: #c06fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02898",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 304,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.19703,
    "h": 331
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#A02898
secondary
#64C06A
accent
#E34F45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02898

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

Preview Lab → · Contrast checker → · Palette generator →

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