#A5279F#A5279F

#A5279F is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.206 H 330.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A5279F
RGBrgb(165, 39, 159)
HSLhsl(303, 62%, 40%)
HSVhsv(303, 76%, 65%)
CMYKcmyk(0%, 76.4%, 3.6%, 35.3%)
CIE-LABlab(41.15, 62.99, -37.05)
CIE-LCHlch(41.15, 73.08, 329.54°)
OKLaboklab(51.99% 0.1786 -0.1023)
OKLCHoklch(51.99% 0.206 330.2)
XYZxyz(22.5005, 11.9554, 33.9167)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279F #27A52D
analogous
#6C27A5 #A5279F #A52760
triadic
#A5279F #9FA527 #279FA5
tetradic
#A5279F #A56C27 #27A52D #2760A5
square
#A5279F #A56C27 #27A52D #2760A5
split-complementary
#A5279F #60A527 #27A56C
monochromatic
#421040 #741B6F #A5279F #D039C9 #DC6AD7

Accessibility & contrast

On white

6.19
#A5279F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A5279F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5279F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5279F#FFFFFF#000000##FFFFFF
##A5279F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#AB3962
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5279f;
/* rgb */ color: rgb(165, 39, 159);
/* oklch */ color: oklch(52.0% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#c370bc',
    500: '#a5279f',
    950: '#000000',
  },
}
SCSS
$custom: #a5279f;
$custom-light: #c370bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279f",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 302.857,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.2058,
    "h": 330.2
  },
  "luminance": 0.11954
}

Semantic roles & 50–950 ramp

primary
#A5279F
secondary
#66C26A
accent
#E54B43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5279F

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

Preview Lab → · Contrast checker → · Palette generator →

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