#A541D2#A541D2

#A541D2 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.220 H 313.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A541D2
RGBrgb(165, 65, 210)
HSLhsl(281, 62%, 54%)
HSVhsv(281, 69%, 82%)
CMYKcmyk(21.4%, 69%, 0%, 17.6%)
CIE-LABlab(47.54, 62.88, -56.76)
CIE-LCHlch(47.54, 84.71, 317.93°)
OKLaboklab(57.54% 0.1506 -0.1601)
OKLCHoklch(57.54% 0.22 313.3)
XYZxyz(29.0382, 16.4339, 62.6027)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541D2 #6ED241
analogous
#5D41D2 #A541D2 #D241B7
triadic
#A541D2 #D2A541 #41D2A5
tetradic
#A541D2 #D25D41 #6ED241 #41B7D2
square
#A541D2 #D25D41 #6ED241 #41B7D2
split-complementary
#A541D2 #B7D241 #41D25D
monochromatic
#5E1D7B #8429AD #A541D2 #BC72DE #D4A4E9

Accessibility & contrast

On white

4.90
#A541D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A541D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541D2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541D2#FFFFFF#000000##FFFFFF
##A541D21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#A05F85
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a541d2;
/* rgb */ color: rgb(165, 65, 210);
/* oklch */ color: oklch(57.5% 0.220 313.3);
Tailwind
colors: {
  custom: {
    50: '#c47ee1',
    500: '#a541d2',
    950: '#000000',
  },
}
SCSS
$custom: #a541d2;
$custom-light: #c47ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#a541d2",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 281.379,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.21979,
    "h": 313.3
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#A541D2
secondary
#ACD698
accent
#E54375
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A541D2

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

Preview Lab → · Contrast checker → · Palette generator →

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