#A7299E#A7299E

#A7299E is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.204 H 331.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A7299E
RGBrgb(167, 41, 158)
HSLhsl(304, 61%, 41%)
HSVhsv(304, 75%, 65%)
CMYKcmyk(0%, 75.4%, 5.4%, 34.5%)
CIE-LABlab(41.64, 62.66, -35.64)
CIE-LCHlch(41.64, 72.08, 330.37°)
OKLaboklab(52.4% 0.1789 -0.0982)
OKLCHoklch(52.4% 0.204 331.2)
XYZxyz(22.9008, 12.2718, 33.5037)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7299E #29A732
analogous
#7129A7 #A7299E #A7295F
triadic
#A7299E #9EA729 #299EA7
tetradic
#A7299E #A77129 #29A732 #295FA7
square
#A7299E #A77129 #29A732 #295FA7
split-complementary
#A7299E #5FA729 #29A771
monochromatic
#451141 #761D70 #A7299E #D03EC5 #DC6FD4

Accessibility & contrast

On white

6.08
#A7299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A7299E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7299E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7299E#FFFFFF#000000##FFFFFF
##A7299E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D57A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#AE3962
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a7299e;
/* rgb */ color: rgb(167, 41, 158);
/* oklch */ color: oklch(52.4% 0.204 331.2);
Tailwind
colors: {
  custom: {
    50: '#c571bb',
    500: '#a7299e',
    950: '#000000',
  },
}
SCSS
$custom: #a7299e;
$custom-light: #c571bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7299e",
  "rgb": {
    "r": 167,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 304.286,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52395,
    "c": 0.20405,
    "h": 331.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#A7299E
secondary
#69C270
accent
#E44F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A7299E

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

Preview Lab → · Contrast checker → · Palette generator →

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