#A041E2#A041E2

#A041E2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 58.0% C 0.234 H 307.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A041E2
RGBrgb(160, 65, 226)
HSLhsl(275, 74%, 57%)
HSVhsv(275, 71%, 89%)
CMYKcmyk(29.2%, 71.2%, 0%, 11.4%)
CIE-LABlab(47.94, 65.26, -65.27)
CIE-LCHlch(47.94, 92.30, 315.00°)
OKLaboklab(58.02% 0.1422 -0.1852)
OKLCHoklch(58.02% 0.234 307.5)
XYZxyz(30.1121, 16.7456, 73.5827)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A041E2 #83E241
analogous
#5041E2 #A041E2 #E241D3
triadic
#A041E2 #E2A041 #41E2A0
tetradic
#A041E2 #E25041 #83E241 #41D3E2
square
#A041E2 #E25041 #83E241 #41D3E2
split-complementary
#A041E2 #D3E241 #41E250
monochromatic
#5F1692 #821EC7 #A041E2 #BB76EA #D5ABF2

Accessibility & contrast

On white

4.83
#A041E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A041E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A041E2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A041E2#FFFFFF#000000##FFFFFF
##A041E21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0473DF
Tritanopia (blue-blind)
#95668E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a041e2;
/* rgb */ color: rgb(160, 65, 226);
/* oklch */ color: oklch(58.0% 0.234 307.5);
Tailwind
colors: {
  custom: {
    50: '#c17eec',
    500: '#a041e2',
    950: '#000000',
  },
}
SCSS
$custom: #a041e2;
$custom-light: #c17eec;
$custom-dark: #000000;
JSON
{
  "hex": "#a041e2",
  "rgb": {
    "r": 160,
    "g": 65,
    "b": 226
  },
  "hsl": {
    "h": 275.404,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.23354,
    "h": 307.5
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#A041E2
secondary
#BAE09F
accent
#F03883
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A041E2

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

Preview Lab → · Contrast checker → · Palette generator →

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