#A6539B#A6539B

#A6539B is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.8% C 0.142 H 332.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A6539B
RGBrgb(166, 83, 155)
HSLhsl(308, 33%, 49%)
HSVhsv(308, 50%, 65%)
CMYKcmyk(0%, 50%, 6.6%, 34.9%)
CIE-LABlab(47.83, 44.09, -24.18)
CIE-LCHlch(47.83, 50.29, 331.26°)
OKLaboklab(56.83% 0.126 -0.0657)
OKLCHoklch(56.83% 0.142 332.5)
XYZxyz(24.7354, 16.6616, 32.9172)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6539B #53A65E
analogous
#8853A6 #A6539B #A65372
triadic
#A6539B #9BA653 #539BA6
tetradic
#A6539B #A68853 #53A65E #5372A6
square
#A6539B #A68853 #53A65E #5372A6
split-complementary
#A6539B #72A653 #53A688
monochromatic
#542A4F #7D3F75 #A6539B #BC7AB4 #D1A3CB

Accessibility & contrast

On white

4.85
#A6539B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A6539B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6539B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6539B#FFFFFF#000000##FFFFFF
##A6539B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516A9D
Deuteranopia (green-blind)
#687699
Tritanopia (blue-blind)
#AC5970
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a6539b;
/* rgb */ color: rgb(166, 83, 155);
/* oklch */ color: oklch(56.8% 0.142 332.5);
Tailwind
colors: {
  custom: {
    50: '#c286b8',
    500: '#a6539b',
    950: '#000000',
  },
}
SCSS
$custom: #a6539b;
$custom-light: #c286b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a6539b",
  "rgb": {
    "r": 166,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 307.952,
    "s": 33.333,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.14212,
    "h": 332.5
  },
  "luminance": 0.1666
}

Semantic roles & 50–950 ramp

primary
#A6539B
secondary
#97BE9C
accent
#C96D5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130B11
muted
#827C80

Preview Lab

Preview with #A6539B

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

Preview Lab → · Contrast checker → · Palette generator →

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