#A52FB0#A52FB0

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

Color values

HEX#A52FB0
RGBrgb(165, 47, 176)
HSLhsl(295, 58%, 44%)
HSVhsv(295, 73%, 69%)
CMYKcmyk(6.2%, 73.3%, 0%, 31%)
CIE-LABlab(43.02, 63.26, -44.21)
CIE-LCHlch(43.02, 77.18, 325.05°)
OKLaboklab(53.64% 0.171 -0.1232)
OKLCHoklch(53.64% 0.211 324.2)
XYZxyz(24.3694, 13.1685, 42.3241)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB0 #3AB02F
analogous
#642FB0 #A52FB0 #B02F7A
triadic
#A52FB0 #B0A52F #2FB0A5
tetradic
#A52FB0 #B0642F #3AB02F #2F7AB0
square
#A52FB0 #B0642F #3AB02F #2F7AB0
split-complementary
#A52FB0 #7AB02F #2FB064
monochromatic
#4A154F #782280 #A52FB0 #C44DCF #D47DDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52FB0#FFFFFF#000000##FFFFFF
##A52FB01.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)
#005DB4
Deuteranopia (green-blind)
#476AAD
Tritanopia (blue-blind)
#A8466D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb0;
/* rgb */ color: rgb(165, 47, 176);
/* oklch */ color: oklch(53.6% 0.211 324.2);
Tailwind
colors: {
  custom: {
    50: '#c374c8',
    500: '#a52fb0',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb0;
$custom-light: #c374c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb0",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 176
  },
  "hsl": {
    "h": 294.884,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5364,
    "c": 0.21077,
    "h": 324.2
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#A52FB0
secondary
#7DC576
accent
#E14754
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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