#A52BC4#A52BC4

#A52BC4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.6% C 0.231 H 318.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A52BC4
RGBrgb(165, 43, 196)
HSLhsl(288, 64%, 47%)
HSVhsv(288, 78%, 77%)
CMYKcmyk(15.8%, 78.1%, 0%, 23.1%)
CIE-LABlab(43.82, 68.15, -54.66)
CIE-LCHlch(43.82, 87.36, 321.27°)
OKLaboklab(54.61% 0.1726 -0.1538)
OKLCHoklch(54.61% 0.231 318.3)
XYZxyz(26.3433, 13.7139, 53.4733)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BC4 #4AC42B
analogous
#592BC4 #A52BC4 #C42B97
triadic
#A52BC4 #C4A52B #2BC4A5
tetradic
#A52BC4 #C4592B #4AC42B #2B97C4
square
#A52BC4 #C4592B #4AC42B #2B97C4
split-complementary
#A52BC4 #97C42B #2BC459
monochromatic
#501560 #7B2092 #A52BC4 #BE53D9 #D185E4

Accessibility & contrast

On white

5.61
#A52BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A52BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BC4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BC4#FFFFFF#000000##FFFFFF
##A52BC41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#336BC1
Tritanopia (blue-blind)
#A44D78
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a52bc4;
/* rgb */ color: rgb(165, 43, 196);
/* oklch */ color: oklch(54.6% 0.231 318.3);
Tailwind
colors: {
  custom: {
    50: '#c473d7',
    500: '#a52bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a52bc4;
$custom-light: #c473d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bc4",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 287.843,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.23116,
    "h": 318.3
  },
  "luminance": 0.13713
}

Semantic roles & 50–950 ramp

primary
#A52BC4
secondary
#8ECE7D
accent
#E74162
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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