#A523A1#A523A1

#A523A1 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.211 H 329.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A523A1
RGBrgb(165, 35, 161)
HSLhsl(302, 65%, 39%)
HSVhsv(302, 79%, 65%)
CMYKcmyk(0%, 78.8%, 2.4%, 35.3%)
CIE-LABlab(40.86, 64.46, -38.71)
CIE-LCHlch(40.86, 75.19, 329.02°)
OKLaboklab(51.82% 0.1818 -0.1071)
OKLCHoklch(51.82% 0.211 329.5)
XYZxyz(22.5510, 11.7764, 34.7966)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A523A1 #23A527
analogous
#6823A5 #A523A1 #A52360
triadic
#A523A1 #A1A523 #23A1A5
tetradic
#A523A1 #A56823 #23A527 #2360A5
square
#A523A1 #A56823 #23A527 #2360A5
split-complementary
#A523A1 #60A523 #23A568
monochromatic
#400E3E #731870 #A523A1 #D332CE #DE64DA

Accessibility & contrast

On white

6.26
#A523A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A523A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A523A1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A523A1#FFFFFF#000000##FFFFFF
##A523A11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A4
Deuteranopia (green-blind)
#4C669E
Tritanopia (blue-blind)
#AB3762
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a523a1;
/* rgb */ color: rgb(165, 35, 161);
/* oklch */ color: oklch(51.8% 0.211 329.5);
Tailwind
colors: {
  custom: {
    50: '#c46ebd',
    500: '#a523a1',
    950: '#000000',
  },
}
SCSS
$custom: #a523a1;
$custom-light: #c46ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a523a1",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 301.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.21104,
    "h": 329.5
  },
  "luminance": 0.11775
}

Semantic roles & 50–950 ramp

primary
#A523A1
secondary
#60C463
accent
#E84540
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A523A1

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

Preview Lab → · Contrast checker → · Palette generator →

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