#A5269E#A5269E

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

Color values

HEX#A5269E
RGBrgb(165, 38, 158)
HSLhsl(303, 63%, 40%)
HSVhsv(303, 77%, 65%)
CMYKcmyk(0%, 77%, 4.2%, 35.3%)
CIE-LABlab(40.99, 63.13, -36.70)
CIE-LCHlch(40.99, 73.02, 329.83°)
OKLaboklab(51.86% 0.1794 -0.1013)
OKLCHoklch(51.86% 0.206 330.5)
XYZxyz(22.3817, 11.8560, 33.4508)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269E #26A52D
analogous
#6D26A5 #A5269E #A5265F
triadic
#A5269E #9EA526 #269EA5
tetradic
#A5269E #A56D26 #26A52D #265FA5
square
#A5269E #A56D26 #26A52D #265FA5
split-complementary
#A5269E #5FA526 #26A56D
monochromatic
#420F3F #731B6E #A5269E #D137C9 #DC69D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5269E#FFFFFF#000000##FFFFFF
##A5269E1.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)
#1556A1
Deuteranopia (green-blind)
#4E679B
Tritanopia (blue-blind)
#AB3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5269e;
/* rgb */ color: rgb(165, 38, 158);
/* oklch */ color: oklch(51.9% 0.206 330.5);
Tailwind
colors: {
  custom: {
    50: '#c46fbb',
    500: '#a5269e',
    950: '#000000',
  },
}
SCSS
$custom: #a5269e;
$custom-light: #c46fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269e",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 158
  },
  "hsl": {
    "h": 303.307,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.20604,
    "h": 330.5
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#A5269E
secondary
#64C369
accent
#E64B42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5269E

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

Preview Lab → · Contrast checker → · Palette generator →

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