#A541B2#A541B2

#A541B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.6% C 0.190 H 322.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A541B2
RGBrgb(165, 65, 178)
HSLhsl(293, 47%, 48%)
HSVhsv(293, 63%, 70%)
CMYKcmyk(7.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(45.63, 56.60, -41.23)
CIE-LCHlch(45.63, 70.02, 323.93°)
OKLaboklab(55.55% 0.1517 -0.1147)
OKLCHoklch(55.55% 0.19 322.9)
XYZxyz(25.4424, 14.9957, 43.6652)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541B2 #4EB241
analogous
#6C41B2 #A541B2 #B24187
triadic
#A541B2 #B2A541 #41B2A5
tetradic
#A541B2 #B26C41 #4EB241 #4187B2
square
#A541B2 #B26C41 #4EB241 #4187B2
split-complementary
#A541B2 #87B241 #41B26C
monochromatic
#522058 #7B3185 #A541B2 #BD68C8 #D195D8

Accessibility & contrast

On white

5.25
#A541B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A541B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541B2#FFFFFF#000000##FFFFFF
##A541B21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#A75274
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a541b2;
/* rgb */ color: rgb(165, 65, 178);
/* oklch */ color: oklch(55.6% 0.190 322.9);
Tailwind
colors: {
  custom: {
    50: '#c37cc9',
    500: '#a541b2',
    950: '#000000',
  },
}
SCSS
$custom: #a541b2;
$custom-light: #c37cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a541b2",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 293.097,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.1902,
    "h": 322.9
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#A541B2
secondary
#91C48B
accent
#D65261
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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