#A541DF#A541DF

#A541DF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.4% C 0.232 H 310.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A541DF
RGBrgb(165, 65, 223)
HSLhsl(278, 71%, 56%)
HSVhsv(278, 71%, 87%)
CMYKcmyk(26%, 70.9%, 0%, 12.5%)
CIE-LABlab(48.40, 65.58, -62.80)
CIE-LCHlch(48.40, 90.80, 316.24°)
OKLaboklab(58.42% 0.1491 -0.1778)
OKLCHoklch(58.42% 0.232 310)
XYZxyz(30.7240, 17.1083, 71.4814)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541DF #7BDF41
analogous
#5641DF #A541DF #DF41CA
triadic
#A541DF #DFA541 #41DFA5
tetradic
#A541DF #DF5641 #7BDF41 #41CADF
square
#A541DF #DF5641 #7BDF41 #41CADF
split-complementary
#A541DF #CADF41 #41DF56
monochromatic
#62188E #8721C2 #A541DF #BE75E8 #D7AAF1

Accessibility & contrast

On white

4.75
#A541DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A541DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541DF#FFFFFF#000000##FFFFFF
##A541DF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#2174DC
Tritanopia (blue-blind)
#9D648C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a541df;
/* rgb */ color: rgb(165, 65, 223);
/* oklch */ color: oklch(58.4% 0.232 310.0);
Tailwind
colors: {
  custom: {
    50: '#c47eea',
    500: '#a541df',
    950: '#000000',
  },
}
SCSS
$custom: #a541df;
$custom-light: #c47eea;
$custom-dark: #000000;
JSON
{
  "hex": "#a541df",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 277.975,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.23205,
    "h": 310
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#A541DF
secondary
#B5DE9D
accent
#EE3A7C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A541DF

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

Preview Lab → · Contrast checker → · Palette generator →

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