#A7249D#A7249D

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

Color values

HEX#A7249D
RGBrgb(167, 36, 157)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.4%, 6%, 34.5%)
CIE-LABlab(41.08, 63.98, -35.93)
CIE-LCHlch(41.08, 73.37, 330.68°)
OKLaboklab(51.97% 0.1831 -0.099)
OKLCHoklch(51.97% 0.208 331.6)
XYZxyz(22.6531, 11.9135, 32.9982)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249D #24A72E
analogous
#6F24A7 #A7249D #A7245C
triadic
#A7249D #9DA724 #249DA7
tetradic
#A7249D #A76F24 #24A72E #245CA7
square
#A7249D #A76F24 #24A72E #245CA7
split-complementary
#A7249D #5CA724 #24A76F
monochromatic
#420E3E #75196E #A7249D #D335C7 #DE67D5

Accessibility & contrast

On white

6.21
#A7249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7249D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249D#FFFFFF#000000##FFFFFF
##A7249D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1755A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AE3560
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7249d;
/* rgb */ color: rgb(167, 36, 157);
/* oklch */ color: oklch(52.0% 0.208 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56fba',
    500: '#a7249d',
    950: '#000000',
  },
}
SCSS
$custom: #a7249d;
$custom-light: #c56fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249d",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 304.58,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.20818,
    "h": 331.6
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#A7249D
secondary
#63C46A
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7249D

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

Preview Lab → · Contrast checker → · Palette generator →

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