#A52492#A52492

#A52492 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 51.0% C 0.199 H 335.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A52492
RGBrgb(165, 36, 146)
HSLhsl(309, 64%, 39%)
HSVhsv(309, 78%, 65%)
CMYKcmyk(0%, 78.2%, 11.5%, 35.3%)
CIE-LABlab(40.14, 61.88, -30.76)
CIE-LCHlch(40.14, 69.10, 333.56°)
OKLaboklab(51.05% 0.1807 -0.0842)
OKLCHoklch(51.05% 0.199 335)
XYZxyz(21.3365, 11.3383, 28.2534)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52492 #24A537
analogous
#7824A5 #A52492 #A52452
triadic
#A52492 #92A524 #2492A5
tetradic
#A52492 #A57824 #24A537 #2452A5
square
#A52492 #A57824 #24A537 #2452A5
split-complementary
#A52492 #52A524 #24A578
monochromatic
#410E39 #731966 #A52492 #D334BB #DE66CC

Accessibility & contrast

On white

6.43
#A52492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52492
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52492#FFFFFF#000000##FFFFFF
##A524921.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235395
Deuteranopia (green-blind)
#54658F
Tritanopia (blue-blind)
#AD305A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52492;
/* rgb */ color: rgb(165, 36, 146);
/* oklch */ color: oklch(51.0% 0.199 335.0);
Tailwind
colors: {
  custom: {
    50: '#c46eb2',
    500: '#a52492',
    950: '#000000',
  },
}
SCSS
$custom: #a52492;
$custom-light: #c46eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52492",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 308.837,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.19933,
    "h": 335
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#A52492
secondary
#62C370
accent
#E75941
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52492

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

Preview Lab → · Contrast checker → · Palette generator →

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