#A5259D#A5259D

#A5259D is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.206 H 330.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A5259D
RGBrgb(165, 37, 157)
HSLhsl(304, 63%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 77.6%, 4.8%, 35.3%)
CIE-LABlab(40.83, 63.26, -36.35)
CIE-LCHlch(40.83, 72.96, 330.12°)
OKLaboklab(51.73% 0.1802 -0.1003)
OKLCHoklch(51.73% 0.206 330.9)
XYZxyz(22.2644, 11.7586, 32.9888)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5259D #25A52D
analogous
#6D25A5 #A5259D #A5255D
triadic
#A5259D #9DA525 #259DA5
tetradic
#A5259D #A56D25 #25A52D #255DA5
square
#A5259D #A56D25 #25A52D #255DA5
split-complementary
#A5259D #5DA525 #25A56D
monochromatic
#410F3E #731A6D #A5259D #D235C8 #DD67D6

Accessibility & contrast

On white

6.27
#A5259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A5259D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5259D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5259D#FFFFFF#000000##FFFFFF
##A5259D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#4F669A
Tritanopia (blue-blind)
#AC3660
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5259d;
/* rgb */ color: rgb(165, 37, 157);
/* oklch */ color: oklch(51.7% 0.206 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46fba',
    500: '#a5259d',
    950: '#000000',
  },
}
SCSS
$custom: #a5259d;
$custom-light: #c46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5259d",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 303.75,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.20625,
    "h": 330.9
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#A5259D
secondary
#63C369
accent
#E64C41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5259D

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

Preview Lab → · Contrast checker → · Palette generator →

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