#A541E8#A541E8

#A541E8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 59.1% C 0.241 H 307.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A541E8
RGBrgb(165, 65, 232)
HSLhsl(276, 78%, 58%)
HSVhsv(276, 72%, 91%)
CMYKcmyk(28.9%, 72%, 0%, 9%)
CIE-LABlab(49.02, 67.49, -66.89)
CIE-LCHlch(49.02, 95.02, 315.25°)
OKLaboklab(59.06% 0.1478 -0.1898)
OKLCHoklch(59.06% 0.241 307.9)
XYZxyz(31.9698, 17.6066, 78.0425)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541E8 #84E841
analogous
#5141E8 #A541E8 #E841D8
triadic
#A541E8 #E8A541 #41E8A5
tetradic
#A541E8 #E85141 #84E841 #41D8E8
square
#A541E8 #E85141 #84E841 #41D8E8
split-complementary
#A541E8 #D8E841 #41E851
monochromatic
#65139C #8819D2 #A541E8 #BF78EF #D9AEF5

Accessibility & contrast

On white

4.64
#A541E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A541E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A541E8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541E8#FFFFFF#000000##FFFFFF
##A541E81.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#9A6891
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a541e8;
/* rgb */ color: rgb(165, 65, 232);
/* oklch */ color: oklch(59.1% 0.241 307.9);
Tailwind
colors: {
  custom: {
    50: '#c57ef0',
    500: '#a541e8',
    950: '#000000',
  },
}
SCSS
$custom: #a541e8;
$custom-light: #c57ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#a541e8",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 275.928,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59059,
    "c": 0.24056,
    "h": 307.9
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#A541E8
secondary
#BCE4A1
accent
#F53381
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A541E8

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

Preview Lab → · Contrast checker → · Palette generator →

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