#A541B7#A541B7

#A541B7 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.195 H 321.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A541B7
RGBrgb(165, 65, 183)
HSLhsl(291, 48%, 49%)
HSVhsv(291, 64%, 72%)
CMYKcmyk(9.8%, 64.5%, 0%, 28.2%)
CIE-LABlab(45.91, 57.54, -43.72)
CIE-LCHlch(45.91, 72.27, 322.77°)
OKLaboklab(55.85% 0.1518 -0.1219)
OKLCHoklch(55.85% 0.195 321.2)
XYZxyz(25.9536, 15.2001, 46.3574)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541B7 #53B741
analogous
#6A41B7 #A541B7 #B7418E
triadic
#A541B7 #B7A541 #41B7A5
tetradic
#A541B7 #B76A41 #53B741 #418EB7
square
#A541B7 #B76A41 #53B741 #418EB7
split-complementary
#A541B7 #8EB741 #41B76A
monochromatic
#54215D #7C318A #A541B7 #BC6BCA #D098DA

Accessibility & contrast

On white

5.20
#A541B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A541B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541B7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541B7#FFFFFF#000000##FFFFFF
##A541B71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#4E70B4
Tritanopia (blue-blind)
#A65476
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a541b7;
/* rgb */ color: rgb(165, 65, 183);
/* oklch */ color: oklch(55.8% 0.195 321.2);
Tailwind
colors: {
  custom: {
    50: '#c37dcd',
    500: '#a541b7',
    950: '#000000',
  },
}
SCSS
$custom: #a541b7;
$custom-light: #c37dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a541b7",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 290.847,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.19472,
    "h": 321.2
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#A541B7
secondary
#96C68E
accent
#D75165
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A541B7

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

Preview Lab → · Contrast checker → · Palette generator →

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