#A5289C#A5289C

#A5289C is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.203 H 331.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A5289C
RGBrgb(165, 40, 156)
HSLhsl(304, 61%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 75.8%, 5.5%, 35.3%)
CIE-LABlab(41.09, 62.21, -35.34)
CIE-LCHlch(41.09, 71.55, 330.40°)
OKLaboklab(51.9% 0.1776 -0.0974)
OKLCHoklch(51.9% 0.203 331.3)
XYZxyz(22.2766, 11.9190, 32.5734)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5289C #28A531
analogous
#6F28A5 #A5289C #A5285D
triadic
#A5289C #9CA528 #289CA5
tetradic
#A5289C #A56F28 #28A531 #285DA5
square
#A5289C #A56F28 #28A531 #285DA5
split-complementary
#A5289C #5DA528 #28A56F
monochromatic
#42103F #741C6D #A5289C #CF3BC5 #DB6CD3

Accessibility & contrast

On white

6.21
#A5289C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A5289C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5289C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5289C#FFFFFF#000000##FFFFFF
##A5289C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C569F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#AC3860
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5289c;
/* rgb */ color: rgb(165, 40, 156);
/* oklch */ color: oklch(51.9% 0.203 331.3);
Tailwind
colors: {
  custom: {
    50: '#c370b9',
    500: '#a5289c',
    950: '#000000',
  },
}
SCSS
$custom: #a5289c;
$custom-light: #c370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5289c",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 304.32,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.20258,
    "h": 331.3
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#A5289C
secondary
#67C26D
accent
#E44F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5289C

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

Preview Lab → · Contrast checker → · Palette generator →

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