#A5289D#A5289D

#A5289D is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.203 H 330.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A5289D
RGBrgb(165, 40, 157)
HSLhsl(304, 61%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 75.8%, 4.8%, 35.3%)
CIE-LABlab(41.14, 62.37, -35.85)
CIE-LCHlch(41.14, 71.94, 330.11°)
OKLaboklab(51.95% 0.1777 -0.0989)
OKLCHoklch(51.95% 0.203 330.9)
XYZxyz(22.3616, 11.9530, 33.0212)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5289D #28A530
analogous
#6E28A5 #A5289D #A5285E
triadic
#A5289D #9DA528 #289DA5
tetradic
#A5289D #A56E28 #28A530 #285EA5
square
#A5289D #A56E28 #28A530 #285EA5
split-complementary
#A5289D #5EA528 #28A56E
monochromatic
#42103F #741C6E #A5289D #CF3BC6 #DB6CD4

Accessibility & contrast

On white

6.19
#A5289D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A5289D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5289D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5289D#FFFFFF#000000##FFFFFF
##A5289D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A56A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AC3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5289d;
/* rgb */ color: rgb(165, 40, 157);
/* oklch */ color: oklch(52.0% 0.203 330.9);
Tailwind
colors: {
  custom: {
    50: '#c370ba',
    500: '#a5289d',
    950: '#000000',
  },
}
SCSS
$custom: #a5289d;
$custom-light: #c370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5289d",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 303.84,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.20332,
    "h": 330.9
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#A5289D
secondary
#67C26D
accent
#E44E44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5289D

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

Preview Lab → · Contrast checker → · Palette generator →

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