#A541DC#A541DC

#A541DC is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.2% C 0.229 H 310.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A541DC
RGBrgb(165, 65, 220)
HSLhsl(279, 69%, 56%)
HSVhsv(279, 70%, 86%)
CMYKcmyk(25%, 70.5%, 0%, 13.7%)
CIE-LABlab(48.19, 64.95, -61.41)
CIE-LCHlch(48.19, 89.39, 316.60°)
OKLaboklab(58.22% 0.1495 -0.1737)
OKLCHoklch(58.22% 0.229 310.7)
XYZxyz(30.3231, 16.9479, 69.3702)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541DC #78DC41
analogous
#5741DC #A541DC #DC41C5
triadic
#A541DC #DCA541 #41DCA5
tetradic
#A541DC #DC5741 #78DC41 #41C5DC
square
#A541DC #DC5741 #78DC41 #41C5DC
split-complementary
#A541DC #C5DC41 #41DC57
monochromatic
#621989 #8623BD #A541DC #BD75E6 #D6A8EF

Accessibility & contrast

On white

4.78
#A541DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A541DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541DC#FFFFFF#000000##FFFFFF
##A541DC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#9E638A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a541dc;
/* rgb */ color: rgb(165, 65, 220);
/* oklch */ color: oklch(58.2% 0.229 310.7);
Tailwind
colors: {
  custom: {
    50: '#c47ee8',
    500: '#a541dc',
    950: '#000000',
  },
}
SCSS
$custom: #a541dc;
$custom-light: #c47ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#a541dc",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 278.71,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.22921,
    "h": 310.7
  },
  "luminance": 0.16947
}

Semantic roles & 50–950 ramp

primary
#A541DC
secondary
#B3DD9C
accent
#EC3C7A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A541DC

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

Preview Lab → · Contrast checker → · Palette generator →

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