#A525AF#A525AF

#A525AF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.220 H 324.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A525AF
RGBrgb(165, 37, 175)
HSLhsl(296, 65%, 42%)
HSVhsv(296, 79%, 69%)
CMYKcmyk(5.7%, 78.9%, 0%, 31.4%)
CIE-LABlab(41.87, 66.20, -45.44)
CIE-LCHlch(41.87, 80.30, 325.53°)
OKLaboklab(52.81% 0.1796 -0.1267)
OKLCHoklch(52.81% 0.22 324.8)
XYZxyz(23.9159, 12.4192, 41.6866)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A525AF #2FAF25
analogous
#6025AF #A525AF #AF2574
triadic
#A525AF #AFA525 #25AFA5
tetradic
#A525AF #AF6025 #2FAF25 #2574AF
square
#A525AF #AF6025 #2FAF25 #2574AF
split-complementary
#A525AF #74AF25 #25AF60
monochromatic
#46104A #751A7C #A525AF #CB3CD6 #D86EE0

Accessibility & contrast

On white

6.03
#A525AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A525AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A525AF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A525AF#FFFFFF#000000##FFFFFF
##A525AF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#A9406A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a525af;
/* rgb */ color: rgb(165, 37, 175);
/* oklch */ color: oklch(52.8% 0.220 324.8);
Tailwind
colors: {
  custom: {
    50: '#c470c7',
    500: '#a525af',
    950: '#000000',
  },
}
SCSS
$custom: #a525af;
$custom-light: #c470c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a525af",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 295.652,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.21984,
    "h": 324.8
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#A525AF
secondary
#70C769
accent
#E8404C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A525AF

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

Preview Lab → · Contrast checker → · Palette generator →

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