#A52FB2#A52FB2

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

Color values

HEX#A52FB2
RGBrgb(165, 47, 178)
HSLhsl(294, 58%, 44%)
HSVhsv(294, 74%, 70%)
CMYKcmyk(7.3%, 73.6%, 0%, 30.2%)
CIE-LABlab(43.13, 63.61, -45.20)
CIE-LCHlch(43.13, 78.04, 324.60°)
OKLaboklab(53.76% 0.1709 -0.1261)
OKLCHoklch(53.76% 0.212 323.6)
XYZxyz(24.5687, 13.2482, 43.3739)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB2 #3CB22F
analogous
#642FB2 #A52FB2 #B22F7E
triadic
#A52FB2 #B2A52F #2FB2A5
tetradic
#A52FB2 #B2642F #3CB22F #2F7EB2
square
#A52FB2 #B2642F #3CB22F #2F7EB2
split-complementary
#A52FB2 #7EB22F #2FB264
monochromatic
#4B1551 #782282 #A52FB2 #C34ED0 #D47EDD

Accessibility & contrast

On white

5.75
#A52FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A52FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FB2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FB2#FFFFFF#000000##FFFFFF
##A52FB21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#A8476E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb2;
/* rgb */ color: rgb(165, 47, 178);
/* oklch */ color: oklch(53.8% 0.212 323.6);
Tailwind
colors: {
  custom: {
    50: '#c374ca',
    500: '#a52fb2',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb2;
$custom-light: #c374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb2",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 294.046,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.21241,
    "h": 323.6
  },
  "luminance": 0.13247
}

Semantic roles & 50–950 ramp

primary
#A52FB2
secondary
#7FC677
accent
#E14656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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