#A52BDF#A52BDF

#A52BDF is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.254 H 311.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A52BDF
RGBrgb(165, 43, 223)
HSLhsl(281, 74%, 52%)
HSVhsv(281, 81%, 87%)
CMYKcmyk(26%, 80.7%, 0%, 12.5%)
CIE-LABlab(45.71, 73.29, -67.15)
CIE-LCHlch(45.71, 99.40, 317.51°)
OKLaboklab(56.53% 0.1675 -0.1904)
OKLCHoklch(56.53% 0.254 311.3)
XYZxyz(29.6977, 15.0556, 71.1393)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BDF #65DF2B
analogous
#4B2BDF #A52BDF #DF2BBF
triadic
#A52BDF #DFA52B #2BDFA5
tetradic
#A52BDF #DF4B2B #65DF2B #2BBFDF
square
#A52BDF #DF4B2B #65DF2B #2BBFDF
split-complementary
#A52BDF #BFDF2B #2BDF4B
monochromatic
#5B137D #811BB2 #A52BDF #BC60E7 #D295EF

Accessibility & contrast

On white

5.24
#A52BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A52BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BDF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BDF#FFFFFF#000000##FFFFFF
##A52BDF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#9D5A87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a52bdf;
/* rgb */ color: rgb(165, 43, 223);
/* oklch */ color: oklch(56.5% 0.254 311.3);
Tailwind
colors: {
  custom: {
    50: '#c574ea',
    500: '#a52bdf',
    950: '#000000',
  },
}
SCSS
$custom: #a52bdf;
$custom-light: #c574ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a52bdf",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 223
  },
  "hsl": {
    "h": 280.667,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.25363,
    "h": 311.3
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#A52BDF
secondary
#A5DA8C
accent
#F03773
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140916
muted
#827B84

Preview Lab

Preview with #A52BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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