#A5249B#A5249B

#A5249B is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.206 H 331.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A5249B
RGBrgb(165, 36, 155)
HSLhsl(305, 64%, 39%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 78.2%, 6.1%, 35.3%)
CIE-LABlab(40.62, 63.24, -35.47)
CIE-LCHlch(40.62, 72.51, 330.71°)
OKLaboklab(51.54% 0.181 -0.0977)
OKLCHoklch(51.54% 0.206 331.6)
XYZxyz(22.0644, 11.6295, 32.0866)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5249B #24A52E
analogous
#6F24A5 #A5249B #A5245B
triadic
#A5249B #9BA524 #249BA5
tetradic
#A5249B #A56F24 #24A52E #245BA5
square
#A5249B #A56F24 #24A52E #245BA5
split-complementary
#A5249B #5BA524 #24A56F
monochromatic
#410E3D #73196C #A5249B #D334C6 #DE66D4

Accessibility & contrast

On white

6.31
#A5249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5249B
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5249B#FFFFFF#000000##FFFFFF
##A5249B1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549E
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#AC355F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5249b;
/* rgb */ color: rgb(165, 36, 155);
/* oklch */ color: oklch(51.5% 0.206 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a5249b',
    950: '#000000',
  },
}
SCSS
$custom: #a5249b;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5249b",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 304.651,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51545,
    "c": 0.20573,
    "h": 331.6
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#A5249B
secondary
#62C369
accent
#E74E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5249B

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

Preview Lab → · Contrast checker → · Palette generator →

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