#A7249C#A7249C

#A7249C is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.207 H 332.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A7249C
RGBrgb(167, 36, 156)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.4%, 6.6%, 34.5%)
CIE-LABlab(41.02, 63.82, -35.41)
CIE-LCHlch(41.02, 72.99, 330.98°)
OKLaboklab(51.92% 0.1831 -0.0975)
OKLCHoklch(51.92% 0.207 332)
XYZxyz(22.5680, 11.8794, 32.5504)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249C #24A72F
analogous
#7024A7 #A7249C #A7245B
triadic
#A7249C #9CA724 #249CA7
tetradic
#A7249C #A77024 #24A72F #245BA7
square
#A7249C #A77024 #24A72F #245BA7
split-complementary
#A7249C #5BA724 #24A770
monochromatic
#420E3E #75196D #A7249C #D335C6 #DE67D4

Accessibility & contrast

On white

6.22
#A7249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A7249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7249C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249C#FFFFFF#000000##FFFFFF
##A7249C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AE355F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7249c;
/* rgb */ color: rgb(167, 36, 156);
/* oklch */ color: oklch(51.9% 0.207 332.0);
Tailwind
colors: {
  custom: {
    50: '#c56fb9',
    500: '#a7249c',
    950: '#000000',
  },
}
SCSS
$custom: #a7249c;
$custom-light: #c56fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249c",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 305.038,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.20745,
    "h": 332
  },
  "luminance": 0.11878
}

Semantic roles & 50–950 ramp

primary
#A7249C
secondary
#63C46B
accent
#E84E40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7249C

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

Preview Lab → · Contrast checker → · Palette generator →

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