#A52397#A52397

#A52397 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.204 H 333.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A52397
RGBrgb(165, 35, 151)
HSLhsl(306, 65%, 39%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 78.8%, 8.5%, 35.3%)
CIE-LABlab(40.31, 62.91, -33.54)
CIE-LCHlch(40.31, 71.29, 331.93°)
OKLaboklab(51.25% 0.1818 -0.0922)
OKLCHoklch(51.25% 0.204 333.1)
XYZxyz(21.7041, 11.4377, 30.3368)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52397 #23A531
analogous
#7223A5 #A52397 #A52356
triadic
#A52397 #97A523 #2397A5
tetradic
#A52397 #A57223 #23A531 #2356A5
square
#A52397 #A57223 #23A531 #2356A5
split-complementary
#A52397 #56A523 #23A572
monochromatic
#400E3B #731869 #A52397 #D332C2 #DE64D1

Accessibility & contrast

On white

6.39
#A52397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52397
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52397#FFFFFF#000000##FFFFFF
##A523971.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C539A
Deuteranopia (green-blind)
#516594
Tritanopia (blue-blind)
#AD325C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52397;
/* rgb */ color: rgb(165, 35, 151);
/* oklch */ color: oklch(51.3% 0.204 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46eb6',
    500: '#a52397',
    950: '#000000',
  },
}
SCSS
$custom: #a52397;
$custom-light: #c46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52397",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 306.462,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51251,
    "c": 0.20379,
    "h": 333.1
  },
  "luminance": 0.11436
}

Semantic roles & 50–950 ramp

primary
#A52397
secondary
#60C46B
accent
#E85240
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52397

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

Preview Lab → · Contrast checker → · Palette generator →

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