#A541AF#A541AF

#A541AF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.188 H 324.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A541AF
RGBrgb(165, 65, 175)
HSLhsl(295, 46%, 47%)
HSVhsv(295, 63%, 69%)
CMYKcmyk(5.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(45.46, 56.04, -39.73)
CIE-LCHlch(45.46, 68.69, 324.67°)
OKLaboklab(55.38% 0.1516 -0.1103)
OKLCHoklch(55.38% 0.188 324)
XYZxyz(25.1445, 14.8765, 42.0962)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541AF #4BAF41
analogous
#6E41AF #A541AF #AF4182
triadic
#A541AF #AFA541 #41AFA5
tetradic
#A541AF #AF6E41 #4BAF41 #4182AF
square
#A541AF #AF6E41 #4BAF41 #4182AF
split-complementary
#A541AF #82AF41 #41AF6E
monochromatic
#512056 #7B3082 #A541AF #BE67C6 #D193D7

Accessibility & contrast

On white

5.28
#A541AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A541AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541AF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541AF#FFFFFF#000000##FFFFFF
##A541AF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C64B2
Deuteranopia (green-blind)
#5370AC
Tritanopia (blue-blind)
#A85172
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a541af;
/* rgb */ color: rgb(165, 65, 175);
/* oklch */ color: oklch(55.4% 0.188 324.0);
Tailwind
colors: {
  custom: {
    50: '#c37cc7',
    500: '#a541af',
    950: '#000000',
  },
}
SCSS
$custom: #a541af;
$custom-light: #c37cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#a541af",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 294.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.18751,
    "h": 324
  },
  "luminance": 0.14875
}

Semantic roles & 50–950 ramp

primary
#A541AF
secondary
#8FC289
accent
#D5525E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A541AF

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

Preview Lab → · Contrast checker → · Palette generator →

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