#A525A9#A525A9

#A525A9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.215 H 326.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A525A9
RGBrgb(165, 37, 169)
HSLhsl(298, 64%, 40%)
HSVhsv(298, 78%, 66%)
CMYKcmyk(2.4%, 78.1%, 0%, 33.7%)
CIE-LABlab(41.51, 65.20, -42.45)
CIE-LCHlch(41.51, 77.80, 326.93°)
OKLaboklab(52.44% 0.18 -0.118)
OKLCHoklch(52.44% 0.215 326.8)
XYZxyz(23.3396, 12.1887, 38.6518)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A525A9 #29A925
analogous
#6325A9 #A525A9 #A9256B
triadic
#A525A9 #A9A525 #25A9A5
tetradic
#A525A9 #A96325 #29A925 #256BA9
square
#A525A9 #A96325 #29A925 #256BA9
split-complementary
#A525A9 #6BA925 #25A963
monochromatic
#430F45 #741A77 #A525A9 #CF38D3 #DB6ADE

Accessibility & contrast

On white

6.11
#A525A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A525A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A525A9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A525A9#FFFFFF#000000##FFFFFF
##A525A91.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#AA3D67
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a525a9;
/* rgb */ color: rgb(165, 37, 169);
/* oklch */ color: oklch(52.4% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc3',
    500: '#a525a9',
    950: '#000000',
  },
}
SCSS
$custom: #a525a9;
$custom-light: #c46fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a525a9",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 298.182,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.21524,
    "h": 326.8
  },
  "luminance": 0.12187
}

Semantic roles & 50–950 ramp

primary
#A525A9
secondary
#68C465
accent
#E74146
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A525A9

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

Preview Lab → · Contrast checker → · Palette generator →

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