#A5279E#A5279E

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

Color values

HEX#A5279E
RGBrgb(165, 39, 158)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 76.4%, 4.2%, 35.3%)
CIE-LABlab(41.09, 62.83, -36.54)
CIE-LCHlch(41.09, 72.68, 329.82°)
OKLaboklab(51.93% 0.1785 -0.1008)
OKLCHoklch(51.93% 0.205 330.5)
XYZxyz(22.4141, 11.9208, 33.4616)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279E #27A52E
analogous
#6D27A5 #A5279E #A5275F
triadic
#A5279E #9EA527 #279EA5
tetradic
#A5279E #A56D27 #27A52E #275FA5
square
#A5279E #A56D27 #27A52E #275FA5
split-complementary
#A5279E #5FA527 #27A56D
monochromatic
#42103F #741B6F #A5279E #D039C8 #DC6AD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5279E#FFFFFF#000000##FFFFFF
##A5279E1.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)
#1756A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#AB3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5279e;
/* rgb */ color: rgb(165, 39, 158);
/* oklch */ color: oklch(51.9% 0.205 330.5);
Tailwind
colors: {
  custom: {
    50: '#c370bb',
    500: '#a5279e',
    950: '#000000',
  },
}
SCSS
$custom: #a5279e;
$custom-light: #c370bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279e",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 303.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51933,
    "c": 0.20506,
    "h": 330.5
  },
  "luminance": 0.11919
}

Semantic roles & 50–950 ramp

primary
#A5279E
secondary
#66C26B
accent
#E54C43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5279E

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

Preview Lab → · Contrast checker → · Palette generator →

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