#A5249F#A5249F

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

Color values

HEX#A5249F
RGBrgb(165, 36, 159)
HSLhsl(303, 64%, 39%)
HSVhsv(303, 78%, 65%)
CMYKcmyk(0%, 78.2%, 3.6%, 35.3%)
CIE-LABlab(40.84, 63.86, -37.53)
CIE-LCHlch(40.84, 74.07, 329.56°)
OKLaboklab(51.77% 0.1811 -0.1037)
OKLCHoklch(51.77% 0.209 330.2)
XYZxyz(22.4058, 11.7661, 33.8852)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249F #24A52A
analogous
#6B24A5 #A5249F #A5245E
triadic
#A5249F #9FA524 #249FA5
tetradic
#A5249F #A56B24 #24A52A #245EA5
square
#A5249F #A56B24 #24A52A #245EA5
split-complementary
#A5249F #5EA524 #24A56B
monochromatic
#410E3E #73196F #A5249F #D334CB #DE66D8

Accessibility & contrast

On white

6.26
#A5249F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A5249F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5249F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249F#FFFFFF#000000##FFFFFF
##A5249F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#AB3761
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249f;
/* rgb */ color: rgb(165, 36, 159);
/* oklch */ color: oklch(51.8% 0.209 330.2);
Tailwind
colors: {
  custom: {
    50: '#c46fbc',
    500: '#a5249f',
    950: '#000000',
  },
}
SCSS
$custom: #a5249f;
$custom-light: #c46fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249f",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 302.791,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.20866,
    "h": 330.2
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#A5249F
secondary
#62C366
accent
#E74841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5249F

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

Preview Lab → · Contrast checker → · Palette generator →

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