#A52BB3#A52BB3

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

Color values

HEX#A52BB3
RGBrgb(165, 43, 179)
HSLhsl(294, 61%, 44%)
HSVhsv(294, 76%, 70%)
CMYKcmyk(7.8%, 76%, 0%, 29.8%)
CIE-LABlab(42.74, 65.10, -46.43)
CIE-LCHlch(42.74, 79.96, 324.51°)
OKLaboklab(53.5% 0.1744 -0.1297)
OKLCHoklch(53.5% 0.217 323.4)
XYZxyz(24.5169, 12.9833, 43.8538)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB3 #39B32B
analogous
#612BB3 #A52BB3 #B32B7D
triadic
#A52BB3 #B3A52B #2BB3A5
tetradic
#A52BB3 #B3612B #39B32B #2B7DB3
square
#A52BB3 #B3612B #39B32B #2B7DB3
split-complementary
#A52BB3 #7DB32B #2BB361
monochromatic
#4A1350 #781F82 #A52BB3 #C548D3 #D479DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52BB3#FFFFFF#000000##FFFFFF
##A52BB31.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)
#005CB7
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#A8456E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52bb3;
/* rgb */ color: rgb(165, 43, 179);
/* oklch */ color: oklch(53.5% 0.217 323.4);
Tailwind
colors: {
  custom: {
    50: '#c472ca',
    500: '#a52bb3',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb3;
$custom-light: #c472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb3",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 293.824,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.535,
    "c": 0.21734,
    "h": 323.4
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#A52BB3
secondary
#7BC773
accent
#E44354
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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