#A041D7#A041D7

#A041D7 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.3% C 0.223 H 310.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A041D7
RGBrgb(160, 65, 215)
HSLhsl(278, 65%, 55%)
HSVhsv(278, 70%, 84%)
CMYKcmyk(25.6%, 69.8%, 0%, 15.7%)
CIE-LABlab(47.19, 62.90, -60.22)
CIE-LCHlch(47.19, 87.08, 316.25°)
OKLaboklab(57.25% 0.1438 -0.1704)
OKLCHoklch(57.25% 0.223 310.2)
XYZxyz(28.6509, 16.1611, 65.8869)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A041D7 #78D741
analogous
#5541D7 #A041D7 #D741C3
triadic
#A041D7 #D7A041 #41D7A0
tetradic
#A041D7 #D75541 #78D741 #41C3D7
square
#A041D7 #D75541 #78D741 #41C3D7
split-complementary
#A041D7 #C3D741 #41D755
monochromatic
#5D1B82 #8026B5 #A041D7 #B974E2 #D3A6EC

Accessibility & contrast

On white

4.96
#A041D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A041D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A041D7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A041D7#FFFFFF#000000##FFFFFF
##A041D71.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#2671D4
Tritanopia (blue-blind)
#986288
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a041d7;
/* rgb */ color: rgb(160, 65, 215);
/* oklch */ color: oklch(57.3% 0.223 310.2);
Tailwind
colors: {
  custom: {
    50: '#c17de4',
    500: '#a041d7',
    950: '#000000',
  },
}
SCSS
$custom: #a041d7;
$custom-light: #c17de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a041d7",
  "rgb": {
    "r": 160,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 278,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.22294,
    "h": 310.2
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#A041D7
secondary
#B1D99A
accent
#E8407D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A041D7

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

Preview Lab → · Contrast checker → · Palette generator →

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