#A5239D#A5239D

#A5239D is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.208 H 330.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A5239D
RGBrgb(165, 35, 157)
HSLhsl(304, 65%, 39%)
HSVhsv(304, 79%, 65%)
CMYKcmyk(0%, 78.8%, 4.8%, 35.3%)
CIE-LABlab(40.63, 63.83, -36.66)
CIE-LCHlch(40.63, 73.60, 330.13°)
OKLaboklab(51.59% 0.1819 -0.1012)
OKLCHoklch(51.59% 0.208 330.9)
XYZxyz(22.2039, 11.6375, 32.9686)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5239D #23A52B
analogous
#6C23A5 #A5239D #A5235C
triadic
#A5239D #9DA523 #239DA5
tetradic
#A5239D #A56C23 #23A52B #235CA5
square
#A5239D #A56C23 #23A52B #235CA5
split-complementary
#A5239D #5CA523 #23A56C
monochromatic
#400E3D #73186D #A5239D #D332CA #DE64D7

Accessibility & contrast

On white

6.31
#A5239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A5239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5239D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5239D#FFFFFF#000000##FFFFFF
##A5239D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A0
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#AC3560
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a5239d;
/* rgb */ color: rgb(165, 35, 157);
/* oklch */ color: oklch(51.6% 0.208 330.9);
Tailwind
colors: {
  custom: {
    50: '#c46eba',
    500: '#a5239d',
    950: '#000000',
  },
}
SCSS
$custom: #a5239d;
$custom-light: #c46eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5239d",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 303.692,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.20811,
    "h": 330.9
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A5239D
secondary
#60C466
accent
#E84A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A5239D

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

Preview Lab → · Contrast checker → · Palette generator →

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