#A5279A#A5279A

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

Color values

HEX#A5279A
RGBrgb(165, 39, 154)
HSLhsl(305, 62%, 40%)
HSVhsv(305, 76%, 65%)
CMYKcmyk(0%, 76.4%, 6.7%, 35.3%)
CIE-LABlab(40.87, 62.20, -34.47)
CIE-LCHlch(40.87, 71.11, 331.01°)
OKLaboklab(51.71% 0.1785 -0.0949)
OKLCHoklch(51.71% 0.202 332)
XYZxyz(22.0754, 11.7853, 31.6777)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279A #27A532
analogous
#7127A5 #A5279A #A5275B
triadic
#A5279A #9AA527 #279AA5
tetradic
#A5279A #A57127 #27A532 #275BA5
square
#A5279A #A57127 #27A532 #275BA5
split-complementary
#A5279A #5BA527 #27A571
monochromatic
#42103E #741B6C #A5279A #D039C3 #DC6AD2

Accessibility & contrast

On white

6.26
#A5279A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A5279A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5279A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5279A#FFFFFF#000000##FFFFFF
##A5279A1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#AC365F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5279a;
/* rgb */ color: rgb(165, 39, 154);
/* oklch */ color: oklch(51.7% 0.202 332.0);
Tailwind
colors: {
  custom: {
    50: '#c370b8',
    500: '#a5279a',
    950: '#000000',
  },
}
SCSS
$custom: #a5279a;
$custom-light: #c370b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 305.238,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51707,
    "c": 0.20211,
    "h": 332
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#A5279A
secondary
#66C26E
accent
#E55143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5279A

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

Preview Lab → · Contrast checker → · Palette generator →

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