#A52BA9#A52BA9

#A52BA9 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.209 H 326.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A52BA9
RGBrgb(165, 43, 169)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 75%, 66%)
CMYKcmyk(2.4%, 74.6%, 0%, 33.7%)
CIE-LABlab(42.14, 63.39, -41.45)
CIE-LCHlch(42.14, 75.73, 326.82°)
OKLaboklab(52.89% 0.1749 -0.1151)
OKLCHoklch(52.89% 0.209 326.6)
XYZxyz(23.5419, 12.5933, 38.7192)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA9 #2FA92B
analogous
#662BA9 #A52BA9 #A92B6E
triadic
#A52BA9 #A9A52B #2BA9A5
tetradic
#A52BA9 #A9662B #2FA92B #2B6EA9
square
#A52BA9 #A9662B #2FA92B #2B6EA9
split-complementary
#A52BA9 #6EA92B #2BA966
monochromatic
#461247 #751F78 #A52BA9 #CB42CF #D873DB

Accessibility & contrast

On white

5.97
#A52BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A52BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BA9
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA9#FFFFFF#000000##FFFFFF
##A52BA91.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAC
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#AA4068
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ba9;
/* rgb */ color: rgb(165, 43, 169);
/* oklch */ color: oklch(52.9% 0.209 326.6);
Tailwind
colors: {
  custom: {
    50: '#c372c3',
    500: '#a52ba9',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba9;
$custom-light: #c372c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba9",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 298.095,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52886,
    "c": 0.20942,
    "h": 326.6
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#A52BA9
secondary
#70C36D
accent
#E3454A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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