#A7249F#A7249F

#A7249F is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 330.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A7249F
RGBrgb(167, 36, 159)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 78.4%, 4.8%, 34.5%)
CIE-LABlab(41.19, 64.29, -36.96)
CIE-LCHlch(41.19, 74.15, 330.10°)
OKLaboklab(52.09% 0.1831 -0.102)
OKLCHoklch(52.09% 0.21 330.9)
XYZxyz(22.8252, 11.9823, 33.9048)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249F #24A72C
analogous
#6D24A7 #A7249F #A7245E
triadic
#A7249F #9FA724 #249FA7
tetradic
#A7249F #A76D24 #24A72C #245EA7
square
#A7249F #A76D24 #24A72C #245EA7
split-complementary
#A7249F #5EA724 #24A76D
monochromatic
#420E3F #75196F #A7249F #D335CA #DE67D7

Accessibility & contrast

On white

6.18
#A7249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A7249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7249F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249F#FFFFFF#000000##FFFFFF
##A7249F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AE3661
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7249f;
/* rgb */ color: rgb(167, 36, 159);
/* oklch */ color: oklch(52.1% 0.210 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56fbc',
    500: '#a7249f',
    950: '#000000',
  },
}
SCSS
$custom: #a7249f;
$custom-light: #c56fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 303.664,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.20962,
    "h": 330.9
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7249F

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

Preview Lab → · Contrast checker → · Palette generator →

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