#A541DD#A541DD

#A541DD is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.3% C 0.230 H 310.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A541DD
RGBrgb(165, 65, 221)
HSLhsl(278, 70%, 56%)
HSVhsv(278, 71%, 87%)
CMYKcmyk(25.3%, 70.6%, 0%, 13.3%)
CIE-LABlab(48.26, 65.16, -61.88)
CIE-LCHlch(48.26, 89.86, 316.48°)
OKLaboklab(58.29% 0.1494 -0.1751)
OKLCHoklch(58.29% 0.23 310.5)
XYZxyz(30.4560, 17.0011, 70.0697)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541DD #79DD41
analogous
#5741DD #A541DD #DD41C7
triadic
#A541DD #DDA541 #41DDA5
tetradic
#A541DD #DD5741 #79DD41 #41C7DD
square
#A541DD #DD5741 #79DD41 #41C7DD
split-complementary
#A541DD #C7DD41 #41DD57
monochromatic
#62198B #8622BF #A541DD #BE75E6 #D6A9F0

Accessibility & contrast

On white

4.77
#A541DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A541DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541DD#FFFFFF#000000##FFFFFF
##A541DD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#9D648B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a541dd;
/* rgb */ color: rgb(165, 65, 221);
/* oklch */ color: oklch(58.3% 0.230 310.5);
Tailwind
colors: {
  custom: {
    50: '#c47ee8',
    500: '#a541dd',
    950: '#000000',
  },
}
SCSS
$custom: #a541dd;
$custom-light: #c47ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a541dd",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 278.462,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.23016,
    "h": 310.5
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#A541DD
secondary
#B4DD9D
accent
#EC3B7B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A541DD

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

Preview Lab → · Contrast checker → · Palette generator →

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