#A525A8#A525A8

#A525A8 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.214 H 327.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A525A8
RGBrgb(165, 37, 168)
HSLhsl(299, 64%, 40%)
HSVhsv(299, 78%, 66%)
CMYKcmyk(1.8%, 78%, 0%, 34.1%)
CIE-LABlab(41.46, 65.03, -41.95)
CIE-LCHlch(41.46, 77.39, 327.18°)
OKLaboklab(52.38% 0.18 -0.1165)
OKLCHoklch(52.38% 0.214 327.1)
XYZxyz(23.2461, 12.1513, 38.1593)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A525A8 #28A825
analogous
#6325A8 #A525A8 #A82569
triadic
#A525A8 #A8A525 #25A8A5
tetradic
#A525A8 #A86325 #28A825 #2569A8
square
#A525A8 #A86325 #28A825 #2569A8
split-complementary
#A525A8 #69A825 #25A863
monochromatic
#420F44 #741A76 #A525A8 #CF37D3 #DB69DE

Accessibility & contrast

On white

6.12
#A525A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A525A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A525A8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A525A8#FFFFFF#000000##FFFFFF
##A525A81.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4867A5
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a525a8;
/* rgb */ color: rgb(165, 37, 168);
/* oklch */ color: oklch(52.4% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a525a8',
    950: '#000000',
  },
}
SCSS
$custom: #a525a8;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a525a8",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 298.626,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52377,
    "c": 0.21448,
    "h": 327.1
  },
  "luminance": 0.1215
}

Semantic roles & 50–950 ramp

primary
#A525A8
secondary
#67C465
accent
#E74145
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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