#A0298F#A0298F

#A0298F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.189 H 334.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A0298F
RGBrgb(160, 41, 143)
HSLhsl(309, 59%, 39%)
HSVhsv(309, 74%, 63%)
CMYKcmyk(0%, 74.4%, 10.6%, 37.3%)
CIE-LABlab(39.66, 58.73, -29.77)
CIE-LCHlch(39.66, 65.84, 333.12°)
OKLaboklab(50.48% 0.1709 -0.0814)
OKLCHoklch(50.48% 0.189 334.5)
XYZxyz(20.2483, 11.0444, 27.0466)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0298F #29A03A
analogous
#7529A0 #A0298F #A02954
triadic
#A0298F #8FA029 #298FA0
tetradic
#A0298F #A07529 #29A03A #2954A0
square
#A0298F #A07529 #29A03A #2954A0
split-complementary
#A0298F #54A029 #29A075
monochromatic
#3F1038 #6F1D63 #A0298F #CC3AB7 #D96AC9

Accessibility & contrast

On white

6.54
#A0298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A0298F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0298F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0298F#FFFFFF#000000##FFFFFF
##A0298F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#A83359
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a0298f;
/* rgb */ color: rgb(160, 41, 143);
/* oklch */ color: oklch(50.5% 0.189 334.5);
Tailwind
colors: {
  custom: {
    50: '#c06fb0',
    500: '#a0298f',
    950: '#000000',
  },
}
SCSS
$custom: #a0298f;
$custom-light: #c06fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a0298f",
  "rgb": {
    "r": 160,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 308.571,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.18929,
    "h": 334.5
  },
  "luminance": 0.11043
}

Semantic roles & 50–950 ramp

primary
#A0298F
secondary
#65BF72
accent
#E25C45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0298F

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

Preview Lab → · Contrast checker → · Palette generator →

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