#A52EB2#A52EB2

#A52EB2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.7% C 0.213 H 323.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A52EB2
RGBrgb(165, 46, 178)
HSLhsl(294, 59%, 44%)
HSVhsv(294, 74%, 70%)
CMYKcmyk(7.3%, 74.2%, 0%, 30.2%)
CIE-LABlab(43.02, 63.95, -45.39)
CIE-LCHlch(43.02, 78.42, 324.63°)
OKLaboklab(53.68% 0.1718 -0.1267)
OKLCHoklch(53.68% 0.213 323.6)
XYZxyz(24.5292, 13.1692, 43.3608)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB2 #3BB22E
analogous
#632EB2 #A52EB2 #B22E7D
triadic
#A52EB2 #B2A52E #2EB2A5
tetradic
#A52EB2 #B2632E #3BB22E #2E7DB2
square
#A52EB2 #B2632E #3BB22E #2E7DB2
split-complementary
#A52EB2 #7DB22E #2EB263
monochromatic
#4B1551 #782181 #A52EB2 #C44CD1 #D47DDD

Accessibility & contrast

On white

5.78
#A52EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A52EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EB2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB2#FFFFFF#000000##FFFFFF
##A52EB21.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#456AAF
Tritanopia (blue-blind)
#A8466E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb2;
/* rgb */ color: rgb(165, 46, 178);
/* oklch */ color: oklch(53.7% 0.213 323.6);
Tailwind
colors: {
  custom: {
    50: '#c473ca',
    500: '#a52eb2',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb2;
$custom-light: #c473ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb2",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 294.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53679,
    "c": 0.21347,
    "h": 323.6
  },
  "luminance": 0.13168
}

Semantic roles & 50–950 ramp

primary
#A52EB2
secondary
#7EC676
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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