#A52BB0#A52BB0

#A52BB0 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.215 H 324.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A52BB0
RGBrgb(165, 43, 176)
HSLhsl(295, 61%, 43%)
HSVhsv(295, 76%, 69%)
CMYKcmyk(6.2%, 75.6%, 0%, 31%)
CIE-LABlab(42.56, 64.58, -44.94)
CIE-LCHlch(42.56, 78.68, 325.16°)
OKLaboklab(53.31% 0.1746 -0.1253)
OKLCHoklch(53.31% 0.215 324.3)
XYZxyz(24.2168, 12.8632, 42.2732)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BB0 #36B02B
analogous
#632BB0 #A52BB0 #B02B78
triadic
#A52BB0 #B0A52B #2BB0A5
tetradic
#A52BB0 #B0632B #36B02B #2B78B0
square
#A52BB0 #B0632B #36B02B #2B78B0
split-complementary
#A52BB0 #78B02B #2BB063
monochromatic
#49134E #771F7F #A52BB0 #C646D2 #D578DE

Accessibility & contrast

On white

5.88
#A52BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A52BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BB0
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BB0#FFFFFF#000000##FFFFFF
##A52BB01.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#4569AD
Tritanopia (blue-blind)
#A8446C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52bb0;
/* rgb */ color: rgb(165, 43, 176);
/* oklch */ color: oklch(53.3% 0.215 324.3);
Tailwind
colors: {
  custom: {
    50: '#c472c8',
    500: '#a52bb0',
    950: '#000000',
  },
}
SCSS
$custom: #a52bb0;
$custom-light: #c472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bb0",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 295.038,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.21495,
    "h": 324.3
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#A52BB0
secondary
#78C671
accent
#E44451
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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