#A7249A#A7249A

#A7249A is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.206 H 332.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A7249A
RGBrgb(167, 36, 154)
HSLhsl(306, 65%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 78.4%, 7.8%, 34.5%)
CIE-LABlab(40.92, 63.52, -34.38)
CIE-LCHlch(40.92, 72.22, 331.58°)
OKLaboklab(51.8% 0.1831 -0.0945)
OKLCHoklch(51.8% 0.206 332.7)
XYZxyz(22.4001, 11.8123, 31.6658)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249A #24A731
analogous
#7224A7 #A7249A #A72459
triadic
#A7249A #9AA724 #249AA7
tetradic
#A7249A #A77224 #24A731 #2459A7
square
#A7249A #A77224 #24A731 #2459A7
split-complementary
#A7249A #59A724 #24A772
monochromatic
#420E3D #75196C #A7249A #D335C4 #DE67D2

Accessibility & contrast

On white

6.25
#A7249A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A7249A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7249A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249A#FFFFFF#000000##FFFFFF
##A7249A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#AF345E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7249a;
/* rgb */ color: rgb(167, 36, 154);
/* oklch */ color: oklch(51.8% 0.206 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56fb8',
    500: '#a7249a',
    950: '#000000',
  },
}
SCSS
$custom: #a7249a;
$custom-light: #c56fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249a",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 305.954,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.20602,
    "h": 332.7
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#A7249A
secondary
#63C46C
accent
#E85140
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7249A

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

Preview Lab → · Contrast checker → · Palette generator →

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