#A5279C#A5279C

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

Color values

HEX#A5279C
RGBrgb(165, 39, 156)
HSLhsl(304, 62%, 40%)
HSVhsv(304, 76%, 65%)
CMYKcmyk(0%, 76.4%, 5.5%, 35.3%)
CIE-LABlab(40.98, 62.52, -35.50)
CIE-LCHlch(40.98, 71.89, 330.41°)
OKLaboklab(51.82% 0.1785 -0.0979)
OKLCHoklch(51.82% 0.204 331.3)
XYZxyz(22.2433, 11.8525, 32.5623)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279C #27A530
analogous
#6F27A5 #A5279C #A5275D
triadic
#A5279C #9CA527 #279CA5
tetradic
#A5279C #A56F27 #27A530 #275DA5
square
#A5279C #A56F27 #27A530 #275DA5
split-complementary
#A5279C #5DA527 #27A56F
monochromatic
#42103E #741B6D #A5279C #D039C5 #DC6AD4

Accessibility & contrast

On white

6.23
#A5279C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A5279C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5279C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5279C#FFFFFF#000000##FFFFFF
##A5279C1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A569F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#AC3760
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5279c;
/* rgb */ color: rgb(165, 39, 156);
/* oklch */ color: oklch(51.8% 0.204 331.3);
Tailwind
colors: {
  custom: {
    50: '#c370b9',
    500: '#a5279c',
    950: '#000000',
  },
}
SCSS
$custom: #a5279c;
$custom-light: #c370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279c",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 304.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.20358,
    "h": 331.3
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#A5279C
secondary
#66C26C
accent
#E54F43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5279C

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

Preview Lab → · Contrast checker → · Palette generator →

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