#A525A7#A525A7

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

Color values

HEX#A525A7
RGBrgb(165, 37, 167)
HSLhsl(299, 64%, 40%)
HSVhsv(299, 78%, 65%)
CMYKcmyk(1.2%, 77.8%, 0%, 34.5%)
CIE-LABlab(41.40, 64.87, -41.44)
CIE-LCHlch(41.40, 76.98, 327.43°)
OKLaboklab(52.32% 0.1801 -0.1151)
OKLCHoklch(52.32% 0.214 327.4)
XYZxyz(23.1533, 12.1142, 37.6705)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A525A7 #27A725
analogous
#6425A7 #A525A7 #A72568
triadic
#A525A7 #A7A525 #25A7A5
tetradic
#A525A7 #A76425 #27A725 #2568A7
square
#A525A7 #A76425 #27A725 #2568A7
split-complementary
#A525A7 #68A725 #25A764
monochromatic
#420F43 #731A75 #A525A7 #D037D3 #DC69DE

Accessibility & contrast

On white

6.14
#A525A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A525A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A525A7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A525A7#FFFFFF#000000##FFFFFF
##A525A71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a525a7;
/* rgb */ color: rgb(165, 37, 167);
/* oklch */ color: oklch(52.3% 0.214 327.4);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a525a7',
    950: '#000000',
  },
}
SCSS
$custom: #a525a7;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a525a7",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 299.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.21372,
    "h": 327.4
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#A525A7
secondary
#66C464
accent
#E74144
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A525A7

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

Preview Lab → · Contrast checker → · Palette generator →

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