#A336B4#A336B4

#A336B4 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.2% C 0.205 H 322.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A336B4
RGBrgb(163, 54, 180)
HSLhsl(292, 54%, 46%)
HSVhsv(292, 70%, 71%)
CMYKcmyk(9.4%, 70%, 0%, 29.4%)
CIE-LABlab(43.83, 61.01, -45.29)
CIE-LCHlch(43.83, 75.98, 323.41°)
OKLaboklab(54.24% 0.1616 -0.1265)
OKLCHoklch(54.24% 0.205 322)
XYZxyz(24.6608, 13.7215, 44.5207)
Luminance0.1372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B4 #47B436
analogous
#6436B4 #A336B4 #B43686
triadic
#A336B4 #B4A336 #36B4A3
tetradic
#A336B4 #B46436 #47B436 #3686B4
square
#A336B4 #B46436 #47B436 #3686B4
split-complementary
#A336B4 #86B436 #36B464
monochromatic
#4E1A56 #782885 #A336B4 #BE5ACD #D089DC

Accessibility & contrast

On white

5.61
#A336B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A336B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B4
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B4#FFFFFF#000000##FFFFFF
##A336B41.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B8
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#A54C71
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b4;
/* rgb */ color: rgb(163, 54, 180);
/* oklch */ color: oklch(54.2% 0.205 322.0);
Tailwind
colors: {
  custom: {
    50: '#c277cb',
    500: '#a336b4',
    950: '#000000',
  },
}
SCSS
$custom: #a336b4;
$custom-light: #c277cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b4",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 291.905,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54236,
    "c": 0.20524,
    "h": 322
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#A336B4
secondary
#8AC680
accent
#DD4B5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A336B4

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

Preview Lab → · Contrast checker → · Palette generator →

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