#A541BA#A541BA

#A541BA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.197 H 320.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A541BA
RGBrgb(165, 65, 186)
HSLhsl(290, 48%, 49%)
HSVhsv(290, 65%, 73%)
CMYKcmyk(11.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(46.08, 58.11, -45.20)
CIE-LCHlch(46.08, 73.62, 322.12°)
OKLaboklab(56.02% 0.1518 -0.1262)
OKLCHoklch(56.02% 0.197 320.3)
XYZxyz(26.2692, 15.3264, 48.0194)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541BA #56BA41
analogous
#6941BA #A541BA #BA4193
triadic
#A541BA #BAA541 #41BAA5
tetradic
#A541BA #BA6941 #56BA41 #4193BA
square
#A541BA #BA6941 #56BA41 #4193BA
split-complementary
#A541BA #93BA41 #41BA69
monochromatic
#55215F #7D318D #A541BA #BB6CCC #D09ADC

Accessibility & contrast

On white

5.17
#A541BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A541BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541BA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541BA#FFFFFF#000000##FFFFFF
##A541BA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#A65678
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a541ba;
/* rgb */ color: rgb(165, 65, 186);
/* oklch */ color: oklch(56.0% 0.197 320.3);
Tailwind
colors: {
  custom: {
    50: '#c37dcf',
    500: '#a541ba',
    950: '#000000',
  },
}
SCSS
$custom: #a541ba;
$custom-light: #c37dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a541ba",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 289.587,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56024,
    "c": 0.19746,
    "h": 320.3
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#A541BA
secondary
#99C88F
accent
#D85068
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A541BA

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

Preview Lab → · Contrast checker → · Palette generator →

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