#A5279B#A5279B

#A5279B is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.203 H 331.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A5279B
RGBrgb(165, 39, 155)
HSLhsl(305, 62%, 40%)
HSVhsv(305, 76%, 65%)
CMYKcmyk(0%, 76.4%, 6.1%, 35.3%)
CIE-LABlab(40.93, 62.36, -34.99)
CIE-LCHlch(40.93, 71.50, 330.71°)
OKLaboklab(51.76% 0.1785 -0.0964)
OKLCHoklch(51.76% 0.203 331.6)
XYZxyz(22.1590, 11.8188, 32.1182)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5279B #27A531
analogous
#7027A5 #A5279B #A5275C
triadic
#A5279B #9BA527 #279BA5
tetradic
#A5279B #A57027 #27A531 #275CA5
square
#A5279B #A57027 #27A531 #275CA5
split-complementary
#A5279B #5CA527 #27A570
monochromatic
#42103E #741B6D #A5279B #D039C4 #DC6AD3

Accessibility & contrast

On white

6.24
#A5279B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5279B
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5279B#FFFFFF#000000##FFFFFF
##A5279B1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#506798
Tritanopia (blue-blind)
#AC375F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5279b;
/* rgb */ color: rgb(165, 39, 155);
/* oklch */ color: oklch(51.8% 0.203 331.6);
Tailwind
colors: {
  custom: {
    50: '#c370b9',
    500: '#a5279b',
    950: '#000000',
  },
}
SCSS
$custom: #a5279b;
$custom-light: #c370b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5279b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 304.762,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20285,
    "h": 331.6
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#A5279B
secondary
#66C26D
accent
#E55043
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5279B

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

Preview Lab → · Contrast checker → · Palette generator →

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