#A541D4#A541D4

#A541D4 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.222 H 312.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A541D4
RGBrgb(165, 65, 212)
HSLhsl(281, 63%, 54%)
HSVhsv(281, 69%, 83%)
CMYKcmyk(22.2%, 69.3%, 0%, 16.9%)
CIE-LABlab(47.67, 63.29, -57.70)
CIE-LCHlch(47.67, 85.64, 317.65°)
OKLaboklab(57.67% 0.1504 -0.1628)
OKLCHoklch(57.67% 0.222 312.7)
XYZxyz(29.2889, 16.5342, 63.9231)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541D4 #70D441
analogous
#5C41D4 #A541D4 #D441BA
triadic
#A541D4 #D4A541 #41D4A5
tetradic
#A541D4 #D45C41 #70D441 #41BAD4
square
#A541D4 #D45C41 #70D441 #41BAD4
split-complementary
#A541D4 #BAD441 #41D45C
monochromatic
#5F1D7E #8428B0 #A541D4 #BD73DF #D4A5EB

Accessibility & contrast

On white

4.88
#A541D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A541D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541D4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541D4#FFFFFF#000000##FFFFFF
##A541D41.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3373D1
Tritanopia (blue-blind)
#A06086
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a541d4;
/* rgb */ color: rgb(165, 65, 212);
/* oklch */ color: oklch(57.7% 0.222 312.7);
Tailwind
colors: {
  custom: {
    50: '#c47ee2',
    500: '#a541d4',
    950: '#000000',
  },
}
SCSS
$custom: #a541d4;
$custom-light: #c47ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#a541d4",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 280.816,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.22167,
    "h": 312.7
  },
  "luminance": 0.16533
}

Semantic roles & 50–950 ramp

primary
#A541D4
secondary
#ADD899
accent
#E64276
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A541D4

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

Preview Lab → · Contrast checker → · Palette generator →

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