#A5269A#A5269A

#A5269A is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.203 H 332.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A5269A
RGBrgb(165, 38, 154)
HSLhsl(305, 63%, 40%)
HSVhsv(305, 77%, 65%)
CMYKcmyk(0%, 77%, 6.7%, 35.3%)
CIE-LABlab(40.77, 62.50, -34.63)
CIE-LCHlch(40.77, 71.46, 331.01°)
OKLaboklab(51.63% 0.1793 -0.0953)
OKLCHoklch(51.63% 0.203 332)
XYZxyz(22.0430, 11.7205, 31.6669)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269A #26A531
analogous
#7126A5 #A5269A #A5265A
triadic
#A5269A #9AA526 #269AA5
tetradic
#A5269A #A57126 #26A531 #265AA5
square
#A5269A #A57126 #26A531 #265AA5
split-complementary
#A5269A #5AA526 #26A571
monochromatic
#420F3D #731B6C #A5269A #D137C4 #DC69D2

Accessibility & contrast

On white

6.28
#A5269A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A5269A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5269A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5269A#FFFFFF#000000##FFFFFF
##A5269A1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AC355F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5269a;
/* rgb */ color: rgb(165, 38, 154);
/* oklch */ color: oklch(51.6% 0.203 332.0);
Tailwind
colors: {
  custom: {
    50: '#c36fb8',
    500: '#a5269a',
    950: '#000000',
  },
}
SCSS
$custom: #a5269a;
$custom-light: #c36fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269a",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 305.197,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.2031,
    "h": 332
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#A5269A
secondary
#64C36C
accent
#E65042
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5269A

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

Preview Lab → · Contrast checker → · Palette generator →

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