#A5269D#A5269D

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

Color values

HEX#A5269D
RGBrgb(165, 38, 157)
HSLhsl(304, 63%, 40%)
HSVhsv(304, 77%, 65%)
CMYKcmyk(0%, 77%, 4.8%, 35.3%)
CIE-LABlab(40.93, 62.97, -36.18)
CIE-LCHlch(40.93, 72.63, 330.12°)
OKLaboklab(51.8% 0.1794 -0.0998)
OKLCHoklch(51.8% 0.205 330.9)
XYZxyz(22.2959, 11.8217, 32.9993)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269D #26A52E
analogous
#6E26A5 #A5269D #A5265D
triadic
#A5269D #9DA526 #269DA5
tetradic
#A5269D #A56E26 #26A52E #265DA5
square
#A5269D #A56E26 #26A52E #265DA5
split-complementary
#A5269D #5DA526 #26A56E
monochromatic
#420F3E #731B6E #A5269D #D137C7 #DC69D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5269D#FFFFFF#000000##FFFFFF
##A5269D1.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)
#1755A0
Deuteranopia (green-blind)
#4F679A
Tritanopia (blue-blind)
#AC3760
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5269d;
/* rgb */ color: rgb(165, 38, 157);
/* oklch */ color: oklch(51.8% 0.205 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46fba',
    500: '#a5269d',
    950: '#000000',
  },
}
SCSS
$custom: #a5269d;
$custom-light: #c46fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269d",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 303.78,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.2053,
    "h": 330.9
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#A5269D
secondary
#64C36A
accent
#E64C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5269D

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

Preview Lab → · Contrast checker → · Palette generator →

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