#A336B9#A336B9

#A336B9 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.210 H 320.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A336B9
RGBrgb(163, 54, 185)
HSLhsl(290, 55%, 47%)
HSVhsv(290, 71%, 73%)
CMYKcmyk(11.9%, 70.8%, 0%, 27.5%)
CIE-LABlab(44.13, 61.94, -47.75)
CIE-LCHlch(44.13, 78.21, 322.37°)
OKLaboklab(54.55% 0.1614 -0.1336)
OKLCHoklch(54.55% 0.21 320.4)
XYZxyz(25.1793, 13.9289, 47.2518)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B9 #4CB936
analogous
#6236B9 #A336B9 #B9368E
triadic
#A336B9 #B9A336 #36B9A3
tetradic
#A336B9 #B96236 #4CB936 #368EB9
square
#A336B9 #B96236 #4CB936 #368EB9
split-complementary
#A336B9 #8EB936 #36B962
monochromatic
#501A5A #79288A #A336B9 #BC5DD0 #D08CDD

Accessibility & contrast

On white

5.55
#A336B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A336B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B9#FFFFFF#000000##FFFFFF
##A336B91.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#436CB6
Tritanopia (blue-blind)
#A44F74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b9;
/* rgb */ color: rgb(163, 54, 185);
/* oklch */ color: oklch(54.5% 0.210 320.4);
Tailwind
colors: {
  custom: {
    50: '#c277cf',
    500: '#a336b9',
    950: '#000000',
  },
}
SCSS
$custom: #a336b9;
$custom-light: #c277cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b9",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 289.924,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54547,
    "c": 0.20956,
    "h": 320.4
  },
  "luminance": 0.13928
}

Semantic roles & 50–950 ramp

primary
#A336B9
secondary
#8FC883
accent
#DE4A63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A336B9

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

Preview Lab → · Contrast checker → · Palette generator →

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