#A52FBE#A52FBE

#A52FBE is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.222 H 319.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A52FBE
RGBrgb(165, 47, 190)
HSLhsl(290, 60%, 46%)
HSVhsv(290, 75%, 75%)
CMYKcmyk(13.2%, 75.3%, 0%, 25.5%)
CIE-LABlab(43.87, 65.77, -51.07)
CIE-LCHlch(43.87, 83.27, 322.17°)
OKLaboklab(54.53% 0.17 -0.1433)
OKLCHoklch(54.53% 0.222 319.9)
XYZxyz(25.8267, 13.7514, 49.9991)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FBE #48BE2F
analogous
#5D2FBE #A52FBE #BE2F90
triadic
#A52FBE #BEA52F #2FBEA5
tetradic
#A52FBE #BE5D2F #48BE2F #2F90BE
square
#A52FBE #BE5D2F #48BE2F #2F90BE
split-complementary
#A52FBE #90BE2F #2FBE5D
monochromatic
#50175C #7A238D #A52FBE #BF55D5 #D186E1

Accessibility & contrast

On white

5.60
#A52FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A52FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FBE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FBE#FFFFFF#000000##FFFFFF
##A52FBE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#A54C75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a52fbe;
/* rgb */ color: rgb(165, 47, 190);
/* oklch */ color: oklch(54.5% 0.222 319.9);
Tailwind
colors: {
  custom: {
    50: '#c474d2',
    500: '#a52fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a52fbe;
$custom-light: #c474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fbe",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 289.51,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.22231,
    "h": 319.9
  },
  "luminance": 0.1375
}

Semantic roles & 50–950 ramp

primary
#A52FBE
secondary
#8CCB7E
accent
#E34460
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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