#A52EB7#A52EB7

#A52EB7 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 322.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A52EB7
RGBrgb(165, 46, 183)
HSLhsl(292, 60%, 45%)
HSVhsv(292, 75%, 72%)
CMYKcmyk(9.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(43.32, 64.84, -47.85)
CIE-LCHlch(43.32, 80.58, 323.57°)
OKLaboklab(53.99% 0.1715 -0.1338)
OKLCHoklch(53.99% 0.218 322)
XYZxyz(25.0404, 13.3736, 46.0530)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB7 #40B72E
analogous
#612EB7 #A52EB7 #B72E84
triadic
#A52EB7 #B7A52E #2EB7A5
tetradic
#A52EB7 #B7612E #40B72E #2E84B7
square
#A52EB7 #B7612E #40B72E #2E84B7
split-complementary
#A52EB7 #84B72E #2EB761
monochromatic
#4D1555 #792286 #A52EB7 #C24FD3 #D380DF

Accessibility & contrast

On white

5.72
#A52EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A52EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EB7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB7#FFFFFF#000000##FFFFFF
##A52EB71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#A74971
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb7;
/* rgb */ color: rgb(165, 46, 183);
/* oklch */ color: oklch(54.0% 0.218 322.0);
Tailwind
colors: {
  custom: {
    50: '#c474cd',
    500: '#a52eb7',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb7;
$custom-light: #c474cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb7",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 292.117,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53992,
    "c": 0.21755,
    "h": 322
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#A52EB7
secondary
#83C879
accent
#E3455A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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