#A52BBD#A52BBD

#A52BBD is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.225 H 320.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A52BBD
RGBrgb(165, 43, 189)
HSLhsl(290, 63%, 45%)
HSVhsv(290, 77%, 74%)
CMYKcmyk(12.7%, 77.2%, 0%, 25.9%)
CIE-LABlab(43.36, 66.88, -51.30)
CIE-LCHlch(43.36, 84.29, 322.51°)
OKLaboklab(54.14% 0.1735 -0.1439)
OKLCHoklch(54.14% 0.225 320.3)
XYZxyz(25.5651, 13.4026, 49.3746)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BBD #43BD2B
analogous
#5C2BBD #A52BBD #BD2B8C
triadic
#A52BBD #BDA52B #2BBDA5
tetradic
#A52BBD #BD5C2B #43BD2B #2B8CBD
square
#A52BBD #BD5C2B #43BD2B #2B8CBD
split-complementary
#A52BBD #8CBD2B #2BBD5C
monochromatic
#4E1459 #79208B #A52BBD #C04ED7 #D280E2

Accessibility & contrast

On white

5.71
#A52BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A52BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BBD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BBD#FFFFFF#000000##FFFFFF
##A52BBD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#A64A74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52bbd;
/* rgb */ color: rgb(165, 43, 189);
/* oklch */ color: oklch(54.1% 0.225 320.3);
Tailwind
colors: {
  custom: {
    50: '#c473d2',
    500: '#a52bbd',
    950: '#000000',
  },
}
SCSS
$custom: #a52bbd;
$custom-light: #c473d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bbd",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 290.137,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.22543,
    "h": 320.3
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#A52BBD
secondary
#86CB79
accent
#E6425D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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