#A5459D#A5459D

#A5459D is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.166 H 330.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A5459D
RGBrgb(165, 69, 157)
HSLhsl(305, 41%, 46%)
HSVhsv(305, 58%, 65%)
CMYKcmyk(0%, 58.2%, 4.8%, 35.3%)
CIE-LABlab(45.21, 51.01, -29.46)
CIE-LCHlch(45.21, 58.91, 330.00°)
OKLaboklab(54.9% 0.145 -0.0807)
OKLCHoklch(54.9% 0.166 330.9)
XYZxyz(23.7308, 14.6915, 33.4776)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5459D #45A54D
analogous
#7D45A5 #A5459D #A5456D
triadic
#A5459D #9DA545 #459DA5
tetradic
#A5459D #A57D45 #45A54D #456DA5
square
#A5459D #A57D45 #45A54D #456DA5
split-complementary
#A5459D #6DA545 #45A57D
monochromatic
#4F214B #7A3374 #A5459D #C068B8 #D293CC

Accessibility & contrast

On white

5.33
#A5459D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A5459D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5459D
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5459D#FFFFFF#000000##FFFFFF
##A5459D1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4062A0
Deuteranopia (green-blind)
#5E709A
Tritanopia (blue-blind)
#AB4E6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a5459d;
/* rgb */ color: rgb(165, 69, 157);
/* oklch */ color: oklch(54.9% 0.166 330.9);
Tailwind
colors: {
  custom: {
    50: '#c27eba',
    500: '#a5459d',
    950: '#000000',
  },
}
SCSS
$custom: #a5459d;
$custom-light: #c27eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5459d",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 305,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54899,
    "c": 0.16589,
    "h": 330.9
  },
  "luminance": 0.1469
}

Semantic roles & 50–950 ramp

primary
#A5459D
secondary
#88BD8D
accent
#D16157
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A5459D

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

Preview Lab → · Contrast checker → · Palette generator →

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