#A041DC#A041DC

#A041DC is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.6% C 0.228 H 308.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A041DC
RGBrgb(160, 65, 220)
HSLhsl(277, 69%, 56%)
HSVhsv(277, 70%, 86%)
CMYKcmyk(27.3%, 70.5%, 0%, 13.7%)
CIE-LABlab(47.52, 63.97, -62.53)
CIE-LCHlch(47.52, 89.46, 315.65°)
OKLaboklab(57.6% 0.1431 -0.1772)
OKLCHoklch(57.6% 0.228 308.9)
XYZxyz(29.3032, 16.4220, 69.3224)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A041DC #7DDC41
analogous
#5241DC #A041DC #DC41CB
triadic
#A041DC #DCA041 #41DCA0
tetradic
#A041DC #DC5241 #7DDC41 #41CBDC
square
#A041DC #DC5241 #7DDC41 #41CBDC
split-complementary
#A041DC #CBDC41 #41DC52
monochromatic
#5E1989 #8123BD #A041DC #BA75E6 #D4A8EF

Accessibility & contrast

On white

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

On black

4.28
#A041DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A041DC#FFFFFF#000000##FFFFFF
##A041DC1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#97648A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a041dc;
/* rgb */ color: rgb(160, 65, 220);
/* oklch */ color: oklch(57.6% 0.228 308.9);
Tailwind
colors: {
  custom: {
    50: '#c17de8',
    500: '#a041dc',
    950: '#000000',
  },
}
SCSS
$custom: #a041dc;
$custom-light: #c17de8;
$custom-dark: #000000;
JSON
{
  "hex": "#a041dc",
  "rgb": {
    "r": 160,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 276.774,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.22776,
    "h": 308.9
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#A041DC
secondary
#B5DD9C
accent
#EC3C80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A041DC

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

Preview Lab → · Contrast checker → · Palette generator →

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