#A52FB9#A52FB9

#A52FB9 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.2% C 0.218 H 321.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A52FB9
RGBrgb(165, 47, 185)
HSLhsl(291, 59%, 45%)
HSVhsv(291, 75%, 73%)
CMYKcmyk(10.8%, 74.6%, 0%, 27.5%)
CIE-LABlab(43.56, 64.86, -48.64)
CIE-LCHlch(43.56, 81.08, 323.13°)
OKLaboklab(54.2% 0.1705 -0.1362)
OKLCHoklch(54.2% 0.218 321.4)
XYZxyz(25.2895, 13.5365, 47.1703)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB9 #43B92F
analogous
#602FB9 #A52FB9 #B92F88
triadic
#A52FB9 #B9A52F #2FB9A5
tetradic
#A52FB9 #B9602F #43B92F #2F88B9
square
#A52FB9 #B9602F #43B92F #2F88B9
split-complementary
#A52FB9 #88B92F #2FB960
monochromatic
#4E1657 #792388 #A52FB9 #C052D3 #D283DF

Accessibility & contrast

On white

5.66
#A52FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#A52FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FB9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FB9#FFFFFF#000000##FFFFFF
##A52FB91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#416BB6
Tritanopia (blue-blind)
#A64A72
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52fb9;
/* rgb */ color: rgb(165, 47, 185);
/* oklch */ color: oklch(54.2% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#c474cf',
    500: '#a52fb9',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb9;
$custom-light: #c474cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb9",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 291.304,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.21816,
    "h": 321.4
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#A52FB9
secondary
#86C97B
accent
#E3455C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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