#A5269C#A5269C

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

Color values

HEX#A5269C
RGBrgb(165, 38, 156)
HSLhsl(304, 63%, 40%)
HSVhsv(304, 77%, 65%)
CMYKcmyk(0%, 77%, 5.5%, 35.3%)
CIE-LABlab(40.88, 62.81, -35.67)
CIE-LCHlch(40.88, 72.24, 330.41°)
OKLaboklab(51.75% 0.1794 -0.0983)
OKLCHoklch(51.75% 0.205 331.3)
XYZxyz(22.2109, 11.7877, 32.5515)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5269C #26A52F
analogous
#6F26A5 #A5269C #A5265D
triadic
#A5269C #9CA526 #269CA5
tetradic
#A5269C #A56F26 #26A52F #265DA5
square
#A5269C #A56F26 #26A52F #265DA5
split-complementary
#A5269C #5DA526 #26A56F
monochromatic
#420F3E #731B6D #A5269C #D137C6 #DC69D4

Accessibility & contrast

On white

6.26
#A5269C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5269C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5269C#FFFFFF#000000##FFFFFF
##A5269C1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#4F6699
Tritanopia (blue-blind)
#AC3760
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5269c;
/* rgb */ color: rgb(165, 38, 156);
/* oklch */ color: oklch(51.7% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#c46fb9',
    500: '#a5269c',
    950: '#000000',
  },
}
SCSS
$custom: #a5269c;
$custom-light: #c46fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5269c",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 304.252,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.20456,
    "h": 331.3
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#A5269C
secondary
#64C36B
accent
#E64E42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5269C

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

Preview Lab → · Contrast checker → · Palette generator →

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