#A0298E#A0298E

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

Color values

HEX#A0298E
RGBrgb(160, 41, 142)
HSLhsl(309, 59%, 39%)
HSVhsv(309, 74%, 63%)
CMYKcmyk(0%, 74.4%, 11.2%, 37.3%)
CIE-LABlab(39.60, 58.58, -29.23)
CIE-LCHlch(39.60, 65.47, 333.48°)
OKLaboklab(50.43% 0.1708 -0.0799)
OKLCHoklch(50.43% 0.189 334.9)
XYZxyz(20.1729, 11.0142, 26.6495)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0298E #29A03B
analogous
#7729A0 #A0298E #A02952
triadic
#A0298E #8EA029 #298EA0
tetradic
#A0298E #A07729 #29A03B #2952A0
square
#A0298E #A07729 #29A03B #2952A0
split-complementary
#A0298E #52A029 #29A077
monochromatic
#3F1038 #6F1D63 #A0298E #CC3AB6 #D96AC8

Accessibility & contrast

On white

6.56
#A0298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A0298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0298E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0298E#FFFFFF#000000##FFFFFF
##A0298E1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0298e;
/* rgb */ color: rgb(160, 41, 142);
/* oklch */ color: oklch(50.4% 0.189 334.9);
Tailwind
colors: {
  custom: {
    50: '#c06faf',
    500: '#a0298e',
    950: '#000000',
  },
}
SCSS
$custom: #a0298e;
$custom-light: #c06faf;
$custom-dark: #000000;
JSON
{
  "hex": "#a0298e",
  "rgb": {
    "r": 160,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 309.076,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50429,
    "c": 0.18857,
    "h": 334.9
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#A0298E
secondary
#65BF73
accent
#E25D45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A0298E

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

Preview Lab → · Contrast checker → · Palette generator →

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