#A5289E#A5289E

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

Color values

HEX#A5289E
RGBrgb(165, 40, 158)
HSLhsl(303, 61%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 75.8%, 4.2%, 35.3%)
CIE-LABlab(41.20, 62.53, -36.37)
CIE-LCHlch(41.20, 72.33, 329.82°)
OKLaboklab(52.01% 0.1777 -0.1004)
OKLCHoklch(52.01% 0.204 330.5)
XYZxyz(22.4473, 11.9873, 33.4726)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5289E #28A52F
analogous
#6D28A5 #A5289E #A5285F
triadic
#A5289E #9EA528 #289EA5
tetradic
#A5289E #A56D28 #28A52F #285FA5
square
#A5289E #A56D28 #28A52F #285FA5
split-complementary
#A5289E #5FA528 #28A56D
monochromatic
#421040 #741C6F #A5289E #CF3BC7 #DB6CD5

Accessibility & contrast

On white

6.18
#A5289E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5289E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5289E#FFFFFF#000000##FFFFFF
##A5289E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#AB3961
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5289e;
/* rgb */ color: rgb(165, 40, 158);
/* oklch */ color: oklch(52.0% 0.204 330.5);
Tailwind
colors: {
  custom: {
    50: '#c370bb',
    500: '#a5289e',
    950: '#000000',
  },
}
SCSS
$custom: #a5289e;
$custom-light: #c370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5289e",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 303.36,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.20406,
    "h": 330.5
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#A5289E
secondary
#67C26C
accent
#E44D44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5289E

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

Preview Lab → · Contrast checker → · Palette generator →

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