#A541C7#A541C7

#A541C7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.209 H 316.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A541C7
RGBrgb(165, 65, 199)
HSLhsl(285, 54%, 52%)
HSVhsv(285, 67%, 78%)
CMYKcmyk(17.1%, 67.3%, 0%, 22%)
CIE-LABlab(46.85, 60.66, -51.53)
CIE-LCHlch(46.85, 79.59, 319.65°)
OKLaboklab(56.83% 0.1515 -0.1447)
OKLCHoklch(56.83% 0.209 316.3)
XYZxyz(27.7146, 15.9045, 55.6317)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541C7 #63C741
analogous
#6241C7 #A541C7 #C741A6
triadic
#A541C7 #C7A541 #41C7A5
tetradic
#A541C7 #C76241 #63C741 #41A6C7
square
#A541C7 #C76241 #63C741 #41A6C7
split-complementary
#A541C7 #A6C741 #41C762
monochromatic
#5A206D #812E9D #A541C7 #BB70D5 #D2A0E3

Accessibility & contrast

On white

5.02
#A541C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A541C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541C7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541C7#FFFFFF#000000##FFFFFF
##A541C71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#A35B7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a541c7;
/* rgb */ color: rgb(165, 65, 199);
/* oklch */ color: oklch(56.8% 0.209 316.3);
Tailwind
colors: {
  custom: {
    50: '#c37dd9',
    500: '#a541c7',
    950: '#000000',
  },
}
SCSS
$custom: #a541c7;
$custom-light: #c37dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a541c7",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 284.776,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.20948,
    "h": 316.3
  },
  "luminance": 0.15903
}

Semantic roles & 50–950 ramp

primary
#A541C7
secondary
#A3CF95
accent
#DE4A6F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A541C7

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

Preview Lab → · Contrast checker → · Palette generator →

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