#A02C98#A02C98

#A02C98 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.193 H 331.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A02C98
RGBrgb(160, 44, 152)
HSLhsl(304, 57%, 40%)
HSVhsv(304, 73%, 63%)
CMYKcmyk(0%, 72.5%, 5%, 37.3%)
CIE-LABlab(40.48, 59.13, -33.93)
CIE-LCHlch(40.48, 68.17, 330.15°)
OKLaboklab(51.23% 0.1685 -0.0935)
OKLCHoklch(51.23% 0.193 331)
XYZxyz(21.0653, 11.5436, 30.8183)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A02C98 #2CA034
analogous
#6E2CA0 #A02C98 #A02C5E
triadic
#A02C98 #98A02C #2C98A0
tetradic
#A02C98 #A06E2C #2CA034 #2C5EA0
square
#A02C98 #A06E2C #2CA034 #2C5EA0
split-complementary
#A02C98 #5EA02C #2CA06E
monochromatic
#40123D #701F6A #A02C98 #CA3FC1 #D76FD0

Accessibility & contrast

On white

6.35
#A02C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A02C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A02C98
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A02C98#FFFFFF#000000##FFFFFF
##A02C981.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22559B
Deuteranopia (green-blind)
#506595
Tritanopia (blue-blind)
#A63A5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a02c98;
/* rgb */ color: rgb(160, 44, 152);
/* oklch */ color: oklch(51.2% 0.193 331.0);
Tailwind
colors: {
  custom: {
    50: '#c071b7',
    500: '#a02c98',
    950: '#000000',
  },
}
SCSS
$custom: #a02c98;
$custom-light: #c071b7;
$custom-dark: #000000;
JSON
{
  "hex": "#a02c98",
  "rgb": {
    "r": 160,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 304.138,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.19265,
    "h": 331
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#A02C98
secondary
#69BF6F
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A02C98

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

Preview Lab → · Contrast checker → · Palette generator →

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