#A52CB1#A52CB1

#A52CB1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.215 H 324.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A52CB1
RGBrgb(165, 44, 177)
HSLhsl(295, 60%, 43%)
HSVhsv(295, 75%, 69%)
CMYKcmyk(6.8%, 75.1%, 0%, 30.6%)
CIE-LABlab(42.73, 64.43, -45.26)
CIE-LCHlch(42.73, 78.74, 324.91°)
OKLaboklab(53.45% 0.1737 -0.1263)
OKLCHoklch(53.45% 0.215 324)
XYZxyz(24.3529, 12.9765, 42.8085)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB1 #38B12C
analogous
#622CB1 #A52CB1 #B12C7B
triadic
#A52CB1 #B1A52C #2CB1A5
tetradic
#A52CB1 #B1622C #38B12C #2C7BB1
square
#A52CB1 #B1622C #38B12C #2C7BB1
split-complementary
#A52CB1 #7BB12C #2CB162
monochromatic
#4A144F #772080 #A52CB1 #C549D2 #D57ADE

Accessibility & contrast

On white

5.84
#A52CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A52CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB1#FFFFFF#000000##FFFFFF
##A52CB11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB5
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#A8456D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52cb1;
/* rgb */ color: rgb(165, 44, 177);
/* oklch */ color: oklch(53.5% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#c472c9',
    500: '#a52cb1',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb1;
$custom-light: #c472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb1",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 294.586,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53453,
    "c": 0.21473,
    "h": 324
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#A52CB1
secondary
#7AC673
accent
#E34453
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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