#A7249E#A7249E

#A7249E is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 331.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A7249E
RGBrgb(167, 36, 158)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 78.4%, 5.4%, 34.5%)
CIE-LABlab(41.13, 64.13, -36.45)
CIE-LCHlch(41.13, 73.76, 330.39°)
OKLaboklab(52.03% 0.1831 -0.1005)
OKLCHoklch(52.03% 0.209 331.2)
XYZxyz(22.7388, 11.9477, 33.4497)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249E #24A72D
analogous
#6E24A7 #A7249E #A7245D
triadic
#A7249E #9EA724 #249EA7
tetradic
#A7249E #A76E24 #24A72D #245DA7
square
#A7249E #A76E24 #24A72D #245DA7
split-complementary
#A7249E #5DA724 #24A76E
monochromatic
#420E3F #75196E #A7249E #D335C9 #DE67D6

Accessibility & contrast

On white

6.20
#A7249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A7249E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7249E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249E#FFFFFF#000000##FFFFFF
##A7249E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#AE3660
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7249e;
/* rgb */ color: rgb(167, 36, 158);
/* oklch */ color: oklch(52.0% 0.209 331.2);
Tailwind
colors: {
  custom: {
    50: '#c56fbb',
    500: '#a7249e',
    950: '#000000',
  },
}
SCSS
$custom: #a7249e;
$custom-light: #c56fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249e",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 304.122,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52029,
    "c": 0.2089,
    "h": 331.2
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#A7249E
secondary
#63C469
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7249E

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

Preview Lab → · Contrast checker → · Palette generator →

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