#A52FBF#A52FBF

#A52FBF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.223 H 319.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A52FBF
RGBrgb(165, 47, 191)
HSLhsl(289, 61%, 47%)
HSVhsv(289, 75%, 75%)
CMYKcmyk(13.6%, 75.4%, 0%, 25.1%)
CIE-LABlab(43.94, 65.96, -51.55)
CIE-LCHlch(43.94, 83.71, 321.99°)
OKLaboklab(54.59% 0.1699 -0.1447)
OKLCHoklch(54.59% 0.223 319.6)
XYZxyz(25.9363, 13.7953, 50.5767)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FBF #49BF2F
analogous
#5D2FBF #A52FBF #BF2F91
triadic
#A52FBF #BFA52F #2FBFA5
tetradic
#A52FBF #BF5D2F #49BF2F #2F91BF
square
#A52FBF #BF5D2F #49BF2F #2F91BF
split-complementary
#A52FBF #91BF2F #2FBF5D
monochromatic
#50175D #7B238E #A52FBF #BE56D5 #D187E1

Accessibility & contrast

On white

5.59
#A52FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A52FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FBF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FBF#FFFFFF#000000##FFFFFF
##A52FBF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#A54D76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a52fbf;
/* rgb */ color: rgb(165, 47, 191);
/* oklch */ color: oklch(54.6% 0.223 319.6);
Tailwind
colors: {
  custom: {
    50: '#c474d3',
    500: '#a52fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a52fbf;
$custom-light: #c474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fbf",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 289.167,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5459,
    "c": 0.22315,
    "h": 319.6
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#A52FBF
secondary
#8DCB7F
accent
#E44461
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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