#A02298#A02298

#A02298 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.203 H 331.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A02298
RGBrgb(160, 34, 152)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 79%, 63%)
CMYKcmyk(0%, 78.8%, 5%, 37.3%)
CIE-LABlab(39.39, 62.26, -35.66)
CIE-LCHlch(39.39, 71.75, 330.20°)
OKLaboklab(50.45% 0.1775 -0.0984)
OKLCHoklch(50.45% 0.203 331)
XYZxyz(20.7367, 10.8863, 30.7088)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02298 #22A02A
analogous
#6922A0 #A02298 #A02259
triadic
#A02298 #98A022 #2298A0
tetradic
#A02298 #A06922 #22A02A #2259A0
square
#A02298 #A06922 #22A02A #2259A0
split-complementary
#A02298 #59A022 #22A069
monochromatic
#3B0D38 #6E1768 #A02298 #D22DC8 #DD5FD5

Accessibility & contrast

On white

6.61
#A02298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A02298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02298
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02298#FFFFFF#000000##FFFFFF
##A022981.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A7335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a02298;
/* rgb */ color: rgb(160, 34, 152);
/* oklch */ color: oklch(50.4% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06db7',
    500: '#a02298',
    950: '#000000',
  },
}
SCSS
$custom: #a02298;
$custom-light: #c06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02298",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 303.81,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.20295,
    "h": 331
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#A02298
secondary
#5CC262
accent
#E84B40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02298

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

Preview Lab → · Contrast checker → · Palette generator →

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