#A541B4#A541B4

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

Color values

HEX#A541B4
RGBrgb(165, 65, 180)
HSLhsl(292, 47%, 48%)
HSVhsv(292, 64%, 71%)
CMYKcmyk(8.3%, 63.9%, 0%, 29.4%)
CIE-LABlab(45.74, 56.97, -42.23)
CIE-LCHlch(45.74, 70.92, 323.45°)
OKLaboklab(55.67% 0.1518 -0.1176)
OKLCHoklch(55.67% 0.192 322.2)
XYZxyz(25.6447, 15.0766, 44.7304)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541B4 #50B441
analogous
#6B41B4 #A541B4 #B44189
triadic
#A541B4 #B4A541 #41B4A5
tetradic
#A541B4 #B46B41 #50B441 #4189B4
square
#A541B4 #B46B41 #50B441 #4189B4
split-complementary
#A541B4 #89B441 #41B46B
monochromatic
#53215A #7C3187 #A541B4 #BC69C9 #D096D9

Accessibility & contrast

On white

5.23
#A541B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A541B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541B4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541B4#FFFFFF#000000##FFFFFF
##A541B41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#A75375
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a541b4;
/* rgb */ color: rgb(165, 65, 180);
/* oklch */ color: oklch(55.7% 0.192 322.2);
Tailwind
colors: {
  custom: {
    50: '#c37dcb',
    500: '#a541b4',
    950: '#000000',
  },
}
SCSS
$custom: #a541b4;
$custom-light: #c37dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a541b4",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 292.174,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.192,
    "h": 322.2
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#A541B4
secondary
#93C58C
accent
#D75163
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A541B4

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

Preview Lab → · Contrast checker → · Palette generator →

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