#A541B5#A541B5

#A541B5 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.193 H 321.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A541B5
RGBrgb(165, 65, 181)
HSLhsl(292, 47%, 48%)
HSVhsv(292, 64%, 71%)
CMYKcmyk(8.8%, 64.1%, 0%, 29%)
CIE-LABlab(45.79, 57.16, -42.73)
CIE-LCHlch(45.79, 71.37, 323.22°)
OKLaboklab(55.73% 0.1518 -0.119)
OKLCHoklch(55.73% 0.193 321.9)
XYZxyz(25.7469, 15.1175, 45.2689)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541B5 #51B541
analogous
#6B41B5 #A541B5 #B5418B
triadic
#A541B5 #B5A541 #41B5A5
tetradic
#A541B5 #B56B41 #51B541 #418BB5
square
#A541B5 #B56B41 #51B541 #418BB5
split-complementary
#A541B5 #8BB541 #41B56B
monochromatic
#53215B #7C3188 #A541B5 #BC6AC9 #D097DA

Accessibility & contrast

On white

5.22
#A541B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A541B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541B5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541B5#FFFFFF#000000##FFFFFF
##A541B51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#A75475
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a541b5;
/* rgb */ color: rgb(165, 65, 181);
/* oklch */ color: oklch(55.7% 0.193 321.9);
Tailwind
colors: {
  custom: {
    50: '#c37dcc',
    500: '#a541b5',
    950: '#000000',
  },
}
SCSS
$custom: #a541b5;
$custom-light: #c37dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a541b5",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 291.724,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.19291,
    "h": 321.9
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#A541B5
secondary
#94C58C
accent
#D75163
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A541B5

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

Preview Lab → · Contrast checker → · Palette generator →

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