#A5269B#A5269B

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

Color values

HEX#A5269B
RGBrgb(165, 38, 155)
HSLhsl(305, 63%, 40%)
HSVhsv(305, 77%, 65%)
CMYKcmyk(0%, 77%, 6.1%, 35.3%)
CIE-LABlab(40.82, 62.66, -35.15)
CIE-LCHlch(40.82, 71.85, 330.71°)
OKLaboklab(51.69% 0.1794 -0.0968)
OKLCHoklch(51.69% 0.204 331.6)
XYZxyz(22.1266, 11.7539, 32.1074)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269B #26A530
analogous
#6F26A5 #A5269B #A5265C
triadic
#A5269B #9BA526 #269BA5
tetradic
#A5269B #A56F26 #26A530 #265CA5
square
#A5269B #A56F26 #26A530 #265CA5
split-complementary
#A5269B #5CA526 #26A56F
monochromatic
#420F3E #731B6C #A5269B #D137C5 #DC69D3

Accessibility & contrast

On white

6.27
#A5269B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A5269B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5269B
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5269B#FFFFFF#000000##FFFFFF
##A5269B1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#AC365F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5269b;
/* rgb */ color: rgb(165, 38, 155);
/* oklch */ color: oklch(51.7% 0.204 331.6);
Tailwind
colors: {
  custom: {
    50: '#c36fb9',
    500: '#a5269b',
    950: '#000000',
  },
}
SCSS
$custom: #a5269b;
$custom-light: #c36fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269b",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 304.724,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51689,
    "c": 0.20382,
    "h": 331.6
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5269B

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

Preview Lab → · Contrast checker → · Palette generator →

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