#A523A9#A523A9

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

Color values

HEX#A523A9
RGBrgb(165, 35, 169)
HSLhsl(298, 66%, 40%)
HSVhsv(298, 79%, 66%)
CMYKcmyk(2.4%, 79.3%, 0%, 33.7%)
CIE-LABlab(41.32, 65.75, -42.75)
CIE-LCHlch(41.32, 78.43, 326.97°)
OKLaboklab(52.3% 0.1816 -0.1189)
OKLCHoklch(52.3% 0.217 326.8)
XYZxyz(23.2791, 12.0676, 38.6316)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A523A9 #27A923
analogous
#6223A9 #A523A9 #A9236A
triadic
#A523A9 #A9A523 #23A9A5
tetradic
#A523A9 #A96223 #27A923 #236AA9
square
#A523A9 #A96223 #27A923 #236AA9
split-complementary
#A523A9 #6AA923 #23A962
monochromatic
#420E44 #731976 #A523A9 #D034D5 #DC67DF

Accessibility & contrast

On white

6.15
#A523A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A523A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A523A9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A523A9#FFFFFF#000000##FFFFFF
##A523A91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#AA3C66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a523a9;
/* rgb */ color: rgb(165, 35, 169);
/* oklch */ color: oklch(52.3% 0.217 326.8);
Tailwind
colors: {
  custom: {
    50: '#c46fc3',
    500: '#a523a9',
    950: '#000000',
  },
}
SCSS
$custom: #a523a9;
$custom-light: #c46fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a523a9",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 298.209,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.21701,
    "h": 326.8
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#A523A9
secondary
#66C563
accent
#E93F44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A523A9

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

Preview Lab → · Contrast checker → · Palette generator →

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