#A336C4#A336C4

#A336C4 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.219 H 317.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A336C4
RGBrgb(163, 54, 196)
HSLhsl(286, 57%, 49%)
HSVhsv(286, 72%, 77%)
CMYKcmyk(16.8%, 72.4%, 0%, 23.1%)
CIE-LABlab(44.82, 64.03, -53.07)
CIE-LCHlch(44.82, 83.16, 320.35°)
OKLaboklab(55.26% 0.1605 -0.1492)
OKLCHoklch(55.26% 0.219 317.1)
XYZxyz(26.3858, 14.4115, 53.6057)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336C4 #57C436
analogous
#5C36C4 #A336C4 #C4369E
triadic
#A336C4 #C4A336 #36C4A3
tetradic
#A336C4 #C45C36 #57C436 #369EC4
square
#A336C4 #C45C36 #57C436 #369EC4
split-complementary
#A336C4 #9EC436 #36C45C
monochromatic
#531C64 #7B2994 #A336C4 #BA63D4 #CF93E1

Accessibility & contrast

On white

5.41
#A336C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A336C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336C4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336C4#FFFFFF#000000##FFFFFF
##A336C41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#396DC1
Tritanopia (blue-blind)
#A1537A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a336c4;
/* rgb */ color: rgb(163, 54, 196);
/* oklch */ color: oklch(55.3% 0.219 317.1);
Tailwind
colors: {
  custom: {
    50: '#c277d7',
    500: '#a336c4',
    950: '#000000',
  },
}
SCSS
$custom: #a336c4;
$custom-light: #c277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a336c4",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 196
  },
  "hsl": {
    "h": 286.056,
    "s": 56.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55256,
    "c": 0.21919,
    "h": 317.1
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#A336C4
secondary
#99CC89
accent
#E0486B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A336C4

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

Preview Lab → · Contrast checker → · Palette generator →

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