#A5249D#A5249D

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

Color values

HEX#A5249D
RGBrgb(165, 36, 157)
HSLhsl(304, 64%, 39%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 78.2%, 4.8%, 35.3%)
CIE-LABlab(40.73, 63.55, -36.50)
CIE-LCHlch(40.73, 73.29, 330.13°)
OKLaboklab(51.66% 0.1811 -0.1007)
OKLCHoklch(51.66% 0.207 330.9)
XYZxyz(22.2337, 11.6972, 32.9785)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249D #24A52C
analogous
#6D24A5 #A5249D #A5245D
triadic
#A5249D #9DA524 #249DA5
tetradic
#A5249D #A56D24 #24A52C #245DA5
square
#A5249D #A56D24 #24A52C #245DA5
split-complementary
#A5249D #5DA524 #24A56D
monochromatic
#410E3D #73196D #A5249D #D334C9 #DE66D6

Accessibility & contrast

On white

6.29
#A5249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A5249D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5249D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249D#FFFFFF#000000##FFFFFF
##A5249D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#AC3660
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249d;
/* rgb */ color: rgb(165, 36, 157);
/* oklch */ color: oklch(51.7% 0.207 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46fba',
    500: '#a5249d',
    950: '#000000',
  },
}
SCSS
$custom: #a5249d;
$custom-light: #c46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249d",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 303.721,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.2072,
    "h": 330.9
  },
  "luminance": 0.11695
}

Semantic roles & 50–950 ramp

primary
#A5249D
secondary
#62C368
accent
#E74B41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5249D

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

Preview Lab → · Contrast checker → · Palette generator →

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