#A336C8#A336C8

#A336C8 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.223 H 316.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A336C8
RGBrgb(163, 54, 200)
HSLhsl(285, 57%, 50%)
HSVhsv(285, 73%, 78%)
CMYKcmyk(18.5%, 73%, 0%, 21.6%)
CIE-LABlab(45.08, 64.80, -54.97)
CIE-LCHlch(45.08, 84.98, 319.69°)
OKLaboklab(55.52% 0.1601 -0.1548)
OKLCHoklch(55.52% 0.223 316)
XYZxyz(26.8471, 14.5960, 56.0355)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336C8 #5BC836
analogous
#5A36C8 #A336C8 #C836A4
triadic
#A336C8 #C8A336 #36C8A3
tetradic
#A336C8 #C85A36 #5BC836 #36A4C8
square
#A336C8 #C85A36 #5BC836 #36A4C8
split-complementary
#A336C8 #A4C836 #36C85A
monochromatic
#541C68 #7C2998 #A336C8 #B966D6 #CF96E3

Accessibility & contrast

On white

5.36
#A336C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A336C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336C8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336C8#FFFFFF#000000##FFFFFF
##A336C81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#A0557C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a336c8;
/* rgb */ color: rgb(163, 54, 200);
/* oklch */ color: oklch(55.5% 0.223 316.0);
Tailwind
colors: {
  custom: {
    50: '#c278d9',
    500: '#a336c8',
    950: '#000000',
  },
}
SCSS
$custom: #a336c8;
$custom-light: #c278d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a336c8",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 284.795,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55522,
    "c": 0.22272,
    "h": 316
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#A336C8
secondary
#9DCE8C
accent
#E1476E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A336C8

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

Preview Lab → · Contrast checker → · Palette generator →

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