#A336B6#A336B6

#A336B6 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.207 H 321.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A336B6
RGBrgb(163, 54, 182)
HSLhsl(291, 54%, 46%)
HSVhsv(291, 70%, 71%)
CMYKcmyk(10.4%, 70.3%, 0%, 28.6%)
CIE-LABlab(43.95, 61.38, -46.27)
CIE-LCHlch(43.95, 76.87, 322.99°)
OKLaboklab(54.36% 0.1616 -0.1293)
OKLCHoklch(54.36% 0.207 321.3)
XYZxyz(24.8660, 13.8036, 45.6015)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B6 #49B636
analogous
#6336B6 #A336B6 #B63689
triadic
#A336B6 #B6A336 #36B6A3
tetradic
#A336B6 #B66336 #49B636 #3689B6
square
#A336B6 #B66336 #49B636 #3689B6
split-complementary
#A336B6 #89B636 #36B663
monochromatic
#4E1A58 #792887 #A336B6 #BD5BCE #D08ADC

Accessibility & contrast

On white

5.58
#A336B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A336B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B6
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B6#FFFFFF#000000##FFFFFF
##A336B61.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#456CB3
Tritanopia (blue-blind)
#A44D72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b6;
/* rgb */ color: rgb(163, 54, 182);
/* oklch */ color: oklch(54.4% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#c277cc',
    500: '#a336b6',
    950: '#000000',
  },
}
SCSS
$custom: #a336b6;
$custom-light: #c277cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b6",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 182
  },
  "hsl": {
    "h": 291.094,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5436,
    "c": 0.20697,
    "h": 321.3
  },
  "luminance": 0.13802
}

Semantic roles & 50–950 ramp

primary
#A336B6
secondary
#8CC681
accent
#DE4A60
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A336B6

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

Preview Lab → · Contrast checker → · Palette generator →

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