#A336B5#A336B5

#A336B5 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.3% C 0.206 H 321.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A336B5
RGBrgb(163, 54, 181)
HSLhsl(291, 54%, 46%)
HSVhsv(291, 70%, 71%)
CMYKcmyk(9.9%, 70.2%, 0%, 29%)
CIE-LABlab(43.89, 61.20, -45.78)
CIE-LCHlch(43.89, 76.43, 323.20°)
OKLaboklab(54.3% 0.1616 -0.1279)
OKLCHoklch(54.3% 0.206 321.6)
XYZxyz(24.7630, 13.7624, 45.0592)
Luminance0.1376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B5 #48B536
analogous
#6336B5 #A336B5 #B53687
triadic
#A336B5 #B5A336 #36B5A3
tetradic
#A336B5 #B56336 #48B536 #3687B5
square
#A336B5 #B56336 #48B536 #3687B5
split-complementary
#A336B5 #87B536 #36B563
monochromatic
#4E1A57 #792886 #A336B5 #BD5ACE #D089DC

Accessibility & contrast

On white

5.60
#A336B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#A336B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B5#FFFFFF#000000##FFFFFF
##A336B51.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#A54D72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b5;
/* rgb */ color: rgb(163, 54, 181);
/* oklch */ color: oklch(54.3% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#c277cc',
    500: '#a336b5',
    950: '#000000',
  },
}
SCSS
$custom: #a336b5;
$custom-light: #c277cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b5",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 291.496,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.2061,
    "h": 321.6
  },
  "luminance": 0.13761
}

Semantic roles & 50–950 ramp

primary
#A336B5
secondary
#8BC681
accent
#DD4A5F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A336B5

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

Preview Lab → · Contrast checker → · Palette generator →

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