#A55FA2#A55FA2

#A55FA2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 58.9% C 0.127 H 328.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A55FA2
RGBrgb(165, 95, 162)
HSLhsl(303, 28%, 51%)
HSVhsv(303, 42%, 65%)
CMYKcmyk(0%, 42.4%, 1.8%, 35.3%)
CIE-LABlab(50.45, 38.72, -24.28)
CIE-LCHlch(50.45, 45.70, 327.91°)
OKLaboklab(58.85% 0.1083 -0.0661)
OKLCHoklch(58.85% 0.127 328.6)
XYZxyz(26.1304, 18.7937, 36.4266)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A55FA2 #5FA562
analogous
#855FA5 #A55FA2 #A55F7F
triadic
#A55FA2 #A2A55F #5FA2A5
tetradic
#A55FA2 #A5855F #5FA562 #5F7FA5
square
#A55FA2 #A5855F #5FA562 #5F7FA5
split-complementary
#A55FA2 #7FA55F #5FA585
monochromatic
#583256 #7F487D #A55FA2 #BB86B9 #D1ADD0

Accessibility & contrast

On white

4.41
#A55FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A55FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A55FA2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A55FA2#FFFFFF#000000##000000
##A55FA21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#6D7BA0
Tritanopia (blue-blind)
#A96579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a55fa2;
/* rgb */ color: rgb(165, 95, 162);
/* oklch */ color: oklch(58.9% 0.127 328.6);
Tailwind
colors: {
  custom: {
    50: '#c18ebd',
    500: '#a55fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a55fa2;
$custom-light: #c18ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a55fa2",
  "rgb": {
    "r": 165,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 302.571,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58851,
    "c": 0.12689,
    "h": 328.6
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#A55FA2
secondary
#A0BFA2
accent
#C46863
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A55FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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