#A541EA#A541EA

#A541EA is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.2% C 0.242 H 307.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A541EA
RGBrgb(165, 65, 234)
HSLhsl(276, 80%, 59%)
HSVhsv(276, 72%, 92%)
CMYKcmyk(29.5%, 72.2%, 0%, 8.2%)
CIE-LABlab(49.16, 67.91, -67.79)
CIE-LCHlch(49.16, 95.96, 315.05°)
OKLaboklab(59.2% 0.1474 -0.1925)
OKLCHoklch(59.2% 0.242 307.5)
XYZxyz(32.2555, 17.7209, 79.5472)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541EA #86EA41
analogous
#5041EA #A541EA #EA41DA
triadic
#A541EA #EAA541 #41EAA5
tetradic
#A541EA #EA5041 #86EA41 #41DAEA
square
#A541EA #EA5041 #86EA41 #41DAEA
split-complementary
#A541EA #DAEA41 #41EA50
monochromatic
#65129F #8818D6 #A541EA #BF78F0 #D9AFF6

Accessibility & contrast

On white

4.62
#A541EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#A541EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A541EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541EA#FFFFFF#000000##FFFFFF
##A541EA1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#9A6992
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a541ea;
/* rgb */ color: rgb(165, 65, 234);
/* oklch */ color: oklch(59.2% 0.242 307.5);
Tailwind
colors: {
  custom: {
    50: '#c57ef2',
    500: '#a541ea',
    950: '#000000',
  },
}
SCSS
$custom: #a541ea;
$custom-light: #c57ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a541ea",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 275.503,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.24246,
    "h": 307.5
  },
  "luminance": 0.1772
}

Semantic roles & 50–950 ramp

primary
#A541EA
secondary
#BDE5A2
accent
#F73182
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#140B17
muted
#827C85

Preview Lab

Preview with #A541EA

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

Preview Lab → · Contrast checker → · Palette generator →

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