#A5259B#A5259B

#A5259B is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.205 H 331.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A5259B
RGBrgb(165, 37, 155)
HSLhsl(305, 63%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 77.6%, 6.1%, 35.3%)
CIE-LABlab(40.72, 62.95, -35.31)
CIE-LCHlch(40.72, 72.18, 330.71°)
OKLaboklab(51.62% 0.1802 -0.0973)
OKLCHoklch(51.62% 0.205 331.6)
XYZxyz(22.0950, 11.6909, 32.0969)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5259B #25A52F
analogous
#6F25A5 #A5259B #A5255B
triadic
#A5259B #9BA525 #259BA5
tetradic
#A5259B #A56F25 #25A52F #255BA5
square
#A5259B #A56F25 #25A52F #255BA5
split-complementary
#A5259B #5BA525 #25A56F
monochromatic
#410F3D #731A6C #A5259B #D235C6 #DD67D4

Accessibility & contrast

On white

6.29
#A5259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A5259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5259B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5259B#FFFFFF#000000##FFFFFF
##A5259B1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#AC355F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5259b;
/* rgb */ color: rgb(165, 37, 155);
/* oklch */ color: oklch(51.6% 0.205 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46fb9',
    500: '#a5259b',
    950: '#000000',
  },
}
SCSS
$custom: #a5259b;
$custom-light: #c46fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5259b",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 304.688,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.20479,
    "h": 331.6
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#A5259B
secondary
#63C36A
accent
#E64E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5259B

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

Preview Lab → · Contrast checker → · Palette generator →

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