#A523B1#A523B1

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

Color values

HEX#A523B1
RGBrgb(165, 35, 177)
HSLhsl(295, 67%, 42%)
HSVhsv(295, 80%, 69%)
CMYKcmyk(6.8%, 80.2%, 0%, 30.6%)
CIE-LABlab(41.81, 67.08, -46.73)
CIE-LCHlch(41.81, 81.76, 325.14°)
OKLaboklab(52.8% 0.181 -0.1305)
OKLCHoklch(52.8% 0.223 324.2)
XYZxyz(24.0532, 12.3773, 42.7086)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A523B1 #2FB123
analogous
#5E23B1 #A523B1 #B12376
triadic
#A523B1 #B1A523 #23B1A5
tetradic
#A523B1 #B15E23 #2FB123 #2376B1
square
#A523B1 #B15E23 #2FB123 #2376B1
split-complementary
#A523B1 #76B123 #23B15E
monochromatic
#460F4B #75197E #A523B1 #CB39D8 #D86CE2

Accessibility & contrast

On white

6.04
#A523B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A523B1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A523B1#FFFFFF#000000##FFFFFF
##A523B11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#A8406B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a523b1;
/* rgb */ color: rgb(165, 35, 177);
/* oklch */ color: oklch(52.8% 0.223 324.2);
Tailwind
colors: {
  custom: {
    50: '#c46fc9',
    500: '#a523b1',
    950: '#000000',
  },
}
SCSS
$custom: #a523b1;
$custom-light: #c46fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a523b1",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 294.93,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.22311,
    "h": 324.2
  },
  "luminance": 0.12376
}

Semantic roles & 50–950 ramp

primary
#A523B1
secondary
#70C868
accent
#EA3E4C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A523B1

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

Preview Lab → · Contrast checker → · Palette generator →

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