#A5269F#A5269F

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

Color values

HEX#A5269F
RGBrgb(165, 38, 159)
HSLhsl(303, 63%, 40%)
HSVhsv(303, 77%, 65%)
CMYKcmyk(0%, 77%, 3.6%, 35.3%)
CIE-LABlab(41.04, 63.29, -37.21)
CIE-LCHlch(41.04, 73.42, 329.54°)
OKLaboklab(51.92% 0.1794 -0.1028)
OKLCHoklch(51.92% 0.207 330.2)
XYZxyz(22.4681, 11.8905, 33.9059)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269F #26A52C
analogous
#6C26A5 #A5269F #A5265F
triadic
#A5269F #9FA526 #269FA5
tetradic
#A5269F #A56C26 #26A52C #265FA5
square
#A5269F #A56C26 #26A52C #265FA5
split-complementary
#A5269F #5FA526 #26A56C
monochromatic
#420F3F #731B6F #A5269F #D137CA #DC69D7

Accessibility & contrast

On white

6.22
#A5269F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A5269F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5269F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5269F#FFFFFF#000000##FFFFFF
##A5269F1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#AB3861
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a5269f;
/* rgb */ color: rgb(165, 38, 159);
/* oklch */ color: oklch(51.9% 0.207 330.2);
Tailwind
colors: {
  custom: {
    50: '#c46fbc',
    500: '#a5269f',
    950: '#000000',
  },
}
SCSS
$custom: #a5269f;
$custom-light: #c46fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269f",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 302.835,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.20678,
    "h": 330.2
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5269F

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

Preview Lab → · Contrast checker → · Palette generator →

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