#A541D9#A541D9

#A541D9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 58.0% C 0.226 H 311.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A541D9
RGBrgb(165, 65, 217)
HSLhsl(279, 67%, 55%)
HSVhsv(279, 70%, 85%)
CMYKcmyk(24%, 70%, 0%, 14.9%)
CIE-LABlab(47.99, 64.33, -60.03)
CIE-LCHlch(47.99, 87.98, 316.98°)
OKLaboklab(58.01% 0.1499 -0.1697)
OKLCHoklch(58.01% 0.226 311.5)
XYZxyz(29.9294, 16.7904, 67.2964)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541D9 #75D941
analogous
#5941D9 #A541D9 #D941C1
triadic
#A541D9 #D9A541 #41D9A5
tetradic
#A541D9 #D95941 #75D941 #41C1D9
square
#A541D9 #D95941 #75D941 #41C1D9
split-complementary
#A541D9 #C1D941 #41D959
monochromatic
#611B85 #8625B8 #A541D9 #BD74E3 #D5A7ED

Accessibility & contrast

On white

4.82
#A541D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A541D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541D9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541D9#FFFFFF#000000##FFFFFF
##A541D91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#2C74D6
Tritanopia (blue-blind)
#9E6289
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a541d9;
/* rgb */ color: rgb(165, 65, 217);
/* oklch */ color: oklch(58.0% 0.226 311.5);
Tailwind
colors: {
  custom: {
    50: '#c47ee6',
    500: '#a541d9',
    950: '#000000',
  },
}
SCSS
$custom: #a541d9;
$custom-light: #c47ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#a541d9",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 279.474,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58011,
    "c": 0.22638,
    "h": 311.5
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#A541D9
secondary
#B1DB9B
accent
#EA3E79
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A541D9

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

Preview Lab → · Contrast checker → · Palette generator →

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