#A7249B#A7249B

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

Color values

HEX#A7249B
RGBrgb(167, 36, 155)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.4%, 7.2%, 34.5%)
CIE-LABlab(40.97, 63.67, -34.90)
CIE-LCHlch(40.97, 72.60, 331.27°)
OKLaboklab(51.86% 0.1831 -0.096)
OKLCHoklch(51.86% 0.207 332.3)
XYZxyz(22.4837, 11.8457, 32.1063)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7249B #24A730
analogous
#7124A7 #A7249B #A7245A
triadic
#A7249B #9BA724 #249BA7
tetradic
#A7249B #A77124 #24A730 #245AA7
square
#A7249B #A77124 #24A730 #245AA7
split-complementary
#A7249B #5AA724 #24A771
monochromatic
#420E3E #75196C #A7249B #D335C5 #DE67D3

Accessibility & contrast

On white

6.23
#A7249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A7249B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7249B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7249B#FFFFFF#000000##FFFFFF
##A7249B1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#AE345F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7249b;
/* rgb */ color: rgb(167, 36, 155);
/* oklch */ color: oklch(51.9% 0.207 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56fb9',
    500: '#a7249b',
    950: '#000000',
  },
}
SCSS
$custom: #a7249b;
$custom-light: #c56fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7249b",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 305.496,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.20674,
    "h": 332.3
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7249B

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

Preview Lab → · Contrast checker → · Palette generator →

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