#A52BB6#A52BB6

#A52BB6 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.220 H 322.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A52BB6
RGBrgb(165, 43, 182)
HSLhsl(293, 62%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(9.3%, 76.4%, 0%, 28.6%)
CIE-LABlab(42.92, 65.63, -47.90)
CIE-LCHlch(42.92, 81.25, 323.88°)
OKLaboklab(53.69% 0.1742 -0.134)
OKLCHoklch(53.69% 0.22 322.4)
XYZxyz(24.8236, 13.1059, 45.4691)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB6 #3CB62B
analogous
#602BB6 #A52BB6 #B62B82
triadic
#A52BB6 #B6A52B #2BB6A5
tetradic
#A52BB6 #B6602B #3CB62B #2B82B6
square
#A52BB6 #B6602B #3CB62B #2B82B6
split-complementary
#A52BB6 #82B62B #2BB660
monochromatic
#4B1453 #781F84 #A52BB6 #C34AD4 #D47BE0

Accessibility & contrast

On white

5.80
#A52BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A52BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB6#FFFFFF#000000##FFFFFF
##A52BB61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#A74670
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52bb6;
/* rgb */ color: rgb(165, 43, 182);
/* oklch */ color: oklch(53.7% 0.220 322.4);
Tailwind
colors: {
  custom: {
    50: '#c472cc',
    500: '#a52bb6',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb6;
$custom-light: #c472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb6",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 292.662,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.21976,
    "h": 322.4
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#A52BB6
secondary
#7FC875
accent
#E54357
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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