#A041DF#A041DF

#A041DF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.8% C 0.231 H 308.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A041DF
RGBrgb(160, 65, 223)
HSLhsl(276, 71%, 56%)
HSVhsv(276, 71%, 87%)
CMYKcmyk(28.3%, 70.9%, 0%, 12.5%)
CIE-LABlab(47.73, 64.61, -63.91)
CIE-LCHlch(47.73, 90.88, 315.32°)
OKLaboklab(57.81% 0.1427 -0.1812)
OKLCHoklch(57.81% 0.231 308.2)
XYZxyz(29.7040, 16.5824, 71.4336)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A041DF #80DF41
analogous
#5141DF #A041DF #DF41CF
triadic
#A041DF #DFA041 #41DFA0
tetradic
#A041DF #DF5141 #80DF41 #41CFDF
square
#A041DF #DF5141 #80DF41 #41CFDF
split-complementary
#A041DF #CFDF41 #41DF51
monochromatic
#5F188E #8221C2 #A041DF #BA75E8 #D4AAF1

Accessibility & contrast

On white

4.87
#A041DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A041DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A041DF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A041DF#FFFFFF#000000##FFFFFF
##A041DF1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#1372DC
Tritanopia (blue-blind)
#96658C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a041df;
/* rgb */ color: rgb(160, 65, 223);
/* oklch */ color: oklch(57.8% 0.231 308.2);
Tailwind
colors: {
  custom: {
    50: '#c17eea',
    500: '#a041df',
    950: '#000000',
  },
}
SCSS
$custom: #a041df;
$custom-light: #c17eea;
$custom-dark: #000000;
JSON
{
  "hex": "#a041df",
  "rgb": {
    "r": 160,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 276.076,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.23065,
    "h": 308.2
  },
  "luminance": 0.16582
}

Semantic roles & 50–950 ramp

primary
#A041DF
secondary
#B7DE9D
accent
#EE3A82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A041DF

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

Preview Lab → · Contrast checker → · Palette generator →

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