#A5239B#A5239B

#A5239B is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.207 H 331.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A5239B
RGBrgb(165, 35, 155)
HSLhsl(305, 65%, 39%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 78.8%, 6.1%, 35.3%)
CIE-LABlab(40.52, 63.52, -35.62)
CIE-LCHlch(40.52, 72.82, 330.71°)
OKLaboklab(51.48% 0.1819 -0.0982)
OKLCHoklch(51.48% 0.207 331.6)
XYZxyz(22.0345, 11.5698, 32.0767)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5239B #23A52D
analogous
#6E23A5 #A5239B #A5235A
triadic
#A5239B #9BA523 #239BA5
tetradic
#A5239B #A56E23 #23A52D #235AA5
square
#A5239B #A56E23 #23A52D #235AA5
split-complementary
#A5239B #5AA523 #23A56E
monochromatic
#400E3C #73186C #A5239B #D332C7 #DE64D5

Accessibility & contrast

On white

6.34
#A5239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A5239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5239B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5239B#FFFFFF#000000##FFFFFF
##A5239B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16549E
Deuteranopia (green-blind)
#4F6698
Tritanopia (blue-blind)
#AC345E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5239b;
/* rgb */ color: rgb(165, 35, 155);
/* oklch */ color: oklch(51.5% 0.207 331.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb9',
    500: '#a5239b',
    950: '#000000',
  },
}
SCSS
$custom: #a5239b;
$custom-light: #c46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a5239b",
  "rgb": {
    "r": 165,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 304.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51475,
    "c": 0.20666,
    "h": 331.6
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#A5239B
secondary
#60C468
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A5239B

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

Preview Lab → · Contrast checker → · Palette generator →

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