#A45FA3#A45FA3

#A45FA3 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 58.8% C 0.127 H 327.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A45FA3
RGBrgb(164, 95, 163)
HSLhsl(301, 27%, 51%)
HSVhsv(301, 42%, 64%)
CMYKcmyk(0%, 42.1%, 0.6%, 35.7%)
CIE-LABlab(50.36, 38.59, -25.01)
CIE-LCHlch(50.36, 45.98, 327.05°)
OKLaboklab(58.78% 0.1073 -0.0682)
OKLCHoklch(58.78% 0.127 327.6)
XYZxyz(26.0124, 18.7225, 36.8869)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FA3 #5FA460
analogous
#825FA4 #A45FA3 #A45F80
triadic
#A45FA3 #A3A45F #5FA3A4
tetradic
#A45FA3 #A4825F #5FA460 #5F80A4
square
#A45FA3 #A4825F #5FA460 #5F80A4
split-complementary
#A45FA3 #80A45F #5FA482
monochromatic
#573257 #7E487D #A45FA3 #BA86B9 #D0ADD0

Accessibility & contrast

On white

4.43
#A45FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A45FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FA3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FA3#FFFFFF#000000##000000
##A45FA31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#6C7BA1
Tritanopia (blue-blind)
#A86579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45fa3;
/* rgb */ color: rgb(164, 95, 163);
/* oklch */ color: oklch(58.8% 0.127 327.6);
Tailwind
colors: {
  custom: {
    50: '#c08ebe',
    500: '#a45fa3',
    950: '#000000',
  },
}
SCSS
$custom: #a45fa3;
$custom-light: #c08ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fa3",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 163
  },
  "hsl": {
    "h": 300.87,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58775,
    "c": 0.12718,
    "h": 327.6
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#A45FA3
secondary
#A0BFA1
accent
#C46564
background
#FCF8FB
surface
#F8F0F7
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A45FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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