#A5249E#A5249E

#A5249E is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.208 H 330.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A5249E
RGBrgb(165, 36, 158)
HSLhsl(303, 64%, 39%)
HSVhsv(303, 78%, 65%)
CMYKcmyk(0%, 78.2%, 4.2%, 35.3%)
CIE-LABlab(40.79, 63.71, -37.02)
CIE-LCHlch(40.79, 73.68, 329.84°)
OKLaboklab(51.72% 0.1811 -0.1022)
OKLCHoklch(51.72% 0.208 330.6)
XYZxyz(22.3194, 11.7315, 33.4300)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249E #24A52B
analogous
#6C24A5 #A5249E #A5245E
triadic
#A5249E #9EA524 #249EA5
tetradic
#A5249E #A56C24 #24A52B #245EA5
square
#A5249E #A56C24 #24A52B #245EA5
split-complementary
#A5249E #5EA524 #24A56C
monochromatic
#410E3E #73196E #A5249E #D334CA #DE66D7

Accessibility & contrast

On white

6.28
#A5249E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5249E
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249E#FFFFFF#000000##FFFFFF
##A5249E1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#AC3660
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249e;
/* rgb */ color: rgb(165, 36, 158);
/* oklch */ color: oklch(51.7% 0.208 330.6);
Tailwind
colors: {
  custom: {
    50: '#c46fbb',
    500: '#a5249e',
    950: '#000000',
  },
}
SCSS
$custom: #a5249e;
$custom-light: #c46fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249e",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 303.256,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.20793,
    "h": 330.6
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#A5249E
secondary
#62C367
accent
#E74A41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5249E

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

Preview Lab → · Contrast checker → · Palette generator →

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