#A5279D#A5279D

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

Color values

HEX#A5279D
RGBrgb(165, 39, 157)
HSLhsl(304, 62%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 76.4%, 4.8%, 35.3%)
CIE-LABlab(41.04, 62.67, -36.02)
CIE-LCHlch(41.04, 72.29, 330.11°)
OKLaboklab(51.88% 0.1785 -0.0993)
OKLCHoklch(51.88% 0.204 330.9)
XYZxyz(22.3283, 11.8865, 33.0101)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279D #27A52F
analogous
#6E27A5 #A5279D #A5275E
triadic
#A5279D #9DA527 #279DA5
tetradic
#A5279D #A56E27 #27A52F #275EA5
square
#A5279D #A56E27 #27A52F #275EA5
split-complementary
#A5279D #5EA527 #27A56E
monochromatic
#42103F #741B6E #A5279D #D039C7 #DC6AD5

Accessibility & contrast

On white

6.22
#A5279D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5279D
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5279D#FFFFFF#000000##FFFFFF
##A5279D1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A0
Deuteranopia (green-blind)
#4F679A
Tritanopia (blue-blind)
#AC3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5279d;
/* rgb */ color: rgb(165, 39, 157);
/* oklch */ color: oklch(51.9% 0.204 330.9);
Tailwind
colors: {
  custom: {
    50: '#c370ba',
    500: '#a5279d',
    950: '#000000',
  },
}
SCSS
$custom: #a5279d;
$custom-light: #c370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279d",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 303.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.20432,
    "h": 330.9
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5279D

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

Preview Lab → · Contrast checker → · Palette generator →

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