#A52FBC#A52FBC

#A52FBC is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 320.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A52FBC
RGBrgb(165, 47, 188)
HSLhsl(290, 60%, 46%)
HSVhsv(290, 75%, 74%)
CMYKcmyk(12.2%, 75%, 0%, 26.3%)
CIE-LABlab(43.75, 65.41, -50.10)
CIE-LCHlch(43.75, 82.39, 322.55°)
OKLaboklab(54.4% 0.1702 -0.1404)
OKLCHoklch(54.4% 0.221 320.5)
XYZxyz(25.6096, 13.6646, 48.8558)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FBC #46BC2F
analogous
#5E2FBC #A52FBC #BC2F8C
triadic
#A52FBC #BCA52F #2FBCA5
tetradic
#A52FBC #BC5E2F #46BC2F #2F8CBC
square
#A52FBC #BC5E2F #46BC2F #2F8CBC
split-complementary
#A52FBC #8CBC2F #2FBC5E
monochromatic
#4F175A #7A238B #A52FBC #BF54D4 #D285E0

Accessibility & contrast

On white

5.63
#A52FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A52FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FBC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FBC#FFFFFF#000000##FFFFFF
##A52FBC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3E6BB9
Tritanopia (blue-blind)
#A64B74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52fbc;
/* rgb */ color: rgb(165, 47, 188);
/* oklch */ color: oklch(54.4% 0.221 320.5);
Tailwind
colors: {
  custom: {
    50: '#c474d1',
    500: '#a52fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a52fbc;
$custom-light: #c474d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fbc",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 290.213,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.22065,
    "h": 320.5
  },
  "luminance": 0.13663
}

Semantic roles & 50–950 ramp

primary
#A52FBC
secondary
#89CA7D
accent
#E3455F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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