#A523A8#A523A8

#A523A8 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.216 H 327.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A523A8
RGBrgb(165, 35, 168)
HSLhsl(299, 66%, 40%)
HSVhsv(299, 79%, 66%)
CMYKcmyk(1.8%, 79.2%, 0%, 34.1%)
CIE-LABlab(41.26, 65.59, -42.25)
CIE-LCHlch(41.26, 78.02, 327.21°)
OKLaboklab(52.24% 0.1816 -0.1174)
OKLCHoklch(52.24% 0.216 327.1)
XYZxyz(23.1856, 12.0302, 38.1391)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A523A8 #26A823
analogous
#6323A8 #A523A8 #A82368
triadic
#A523A8 #A8A523 #23A8A5
tetradic
#A523A8 #A86323 #26A823 #2368A8
square
#A523A8 #A86323 #26A823 #2368A8
split-complementary
#A523A8 #68A823 #23A863
monochromatic
#420E43 #731875 #A523A8 #D134D5 #DC66DF

Accessibility & contrast

On white

6.17
#A523A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A523A8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A523A8#FFFFFF#000000##FFFFFF
##A523A81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4767A5
Tritanopia (blue-blind)
#AA3B66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a523a8;
/* rgb */ color: rgb(165, 35, 168);
/* oklch */ color: oklch(52.2% 0.216 327.1);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a523a8',
    950: '#000000',
  },
}
SCSS
$custom: #a523a8;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a523a8",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 298.647,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.21625,
    "h": 327.1
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#A523A8
secondary
#64C562
accent
#E83F43
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A523A8

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

Preview Lab → · Contrast checker → · Palette generator →

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