#A5249C#A5249C

#A5249C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.206 H 331.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A5249C
RGBrgb(165, 36, 156)
HSLhsl(304, 64%, 39%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 78.2%, 5.5%, 35.3%)
CIE-LABlab(40.68, 63.39, -35.99)
CIE-LCHlch(40.68, 72.90, 330.42°)
OKLaboklab(51.6% 0.1811 -0.0992)
OKLCHoklch(51.6% 0.206 331.3)
XYZxyz(22.1487, 11.6632, 32.5307)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249C #24A52D
analogous
#6E24A5 #A5249C #A5245C
triadic
#A5249C #9CA524 #249CA5
tetradic
#A5249C #A56E24 #24A52D #245CA5
square
#A5249C #A56E24 #24A52D #245CA5
split-complementary
#A5249C #5CA524 #24A56E
monochromatic
#410E3D #73196D #A5249C #D334C8 #DE66D5

Accessibility & contrast

On white

6.30
#A5249C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A5249C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5249C
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249C#FFFFFF#000000##FFFFFF
##A5249C1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16559F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AC355F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249c;
/* rgb */ color: rgb(165, 36, 156);
/* oklch */ color: oklch(51.6% 0.206 331.3);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a5249c',
    950: '#000000',
  },
}
SCSS
$custom: #a5249c;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249c",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 304.186,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.20647,
    "h": 331.3
  },
  "luminance": 0.11661
}

Semantic roles & 50–950 ramp

primary
#A5249C
secondary
#62C368
accent
#E74C41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5249C

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

Preview Lab → · Contrast checker → · Palette generator →

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