#A5289F#A5289F

#A5289F is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.205 H 330.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A5289F
RGBrgb(165, 40, 159)
HSLhsl(303, 61%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 75.8%, 3.6%, 35.3%)
CIE-LABlab(41.25, 62.69, -36.88)
CIE-LCHlch(41.25, 72.73, 329.53°)
OKLaboklab(52.07% 0.1777 -0.1018)
OKLCHoklch(52.07% 0.205 330.2)
XYZxyz(22.5338, 12.0219, 33.9278)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5289F #28A52E
analogous
#6C28A5 #A5289F #A52860
triadic
#A5289F #9FA528 #289FA5
tetradic
#A5289F #A56C28 #28A52E #2860A5
square
#A5289F #A56C28 #28A52E #2860A5
split-complementary
#A5289F #60A528 #28A56C
monochromatic
#421040 #741C70 #A5289F #CF3BC8 #DB6CD6

Accessibility & contrast

On white

6.17
#A5289F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A5289F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5289F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5289F#FFFFFF#000000##FFFFFF
##A5289F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1756A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AB3962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5289f;
/* rgb */ color: rgb(165, 40, 159);
/* oklch */ color: oklch(52.1% 0.205 330.2);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a5289f',
    950: '#000000',
  },
}
SCSS
$custom: #a5289f;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5289f",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 302.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.20481,
    "h": 330.2
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#A5289F
secondary
#67C26B
accent
#E44B44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5289F

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

Preview Lab → · Contrast checker → · Palette generator →

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