#A523A7#A523A7

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

Color values

HEX#A523A7
RGBrgb(165, 35, 167)
HSLhsl(299, 65%, 40%)
HSVhsv(299, 79%, 65%)
CMYKcmyk(1.2%, 79%, 0%, 34.5%)
CIE-LABlab(41.21, 65.42, -41.75)
CIE-LCHlch(41.21, 77.61, 327.46°)
OKLaboklab(52.18% 0.1817 -0.116)
OKLCHoklch(52.18% 0.216 327.4)
XYZxyz(23.0928, 11.9931, 37.6503)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A523A7 #25A723
analogous
#6323A7 #A523A7 #A72367
triadic
#A523A7 #A7A523 #23A7A5
tetradic
#A523A7 #A76323 #25A723 #2367A7
square
#A523A7 #A76323 #25A723 #2367A7
split-complementary
#A523A7 #67A723 #23A763
monochromatic
#410E42 #731874 #A523A7 #D233D4 #DD66DF

Accessibility & contrast

On white

6.18
#A523A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A523A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A523A7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A523A7#FFFFFF#000000##FFFFFF
##A523A71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4867A4
Tritanopia (blue-blind)
#AA3B65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a523a7;
/* rgb */ color: rgb(165, 35, 167);
/* oklch */ color: oklch(52.2% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#c46fc2',
    500: '#a523a7',
    950: '#000000',
  },
}
SCSS
$custom: #a523a7;
$custom-light: #c46fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a523a7",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 299.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.21551,
    "h": 327.4
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#A523A7
secondary
#63C461
accent
#E83F42
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A523A7

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

Preview Lab → · Contrast checker → · Palette generator →

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