#A336C2#A336C2

#A336C2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.217 H 317.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A336C2
RGBrgb(163, 54, 194)
HSLhsl(287, 56%, 49%)
HSVhsv(287, 72%, 76%)
CMYKcmyk(16%, 72.2%, 0%, 23.9%)
CIE-LABlab(44.69, 63.64, -52.11)
CIE-LCHlch(44.69, 82.25, 320.69°)
OKLaboklab(55.13% 0.1607 -0.1464)
OKLCHoklch(55.13% 0.217 317.7)
XYZxyz(26.1596, 14.3211, 52.4148)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336C2 #55C236
analogous
#5D36C2 #A336C2 #C2369B
triadic
#A336C2 #C2A336 #36C2A3
tetradic
#A336C2 #C25D36 #55C236 #369BC2
square
#A336C2 #C25D36 #55C236 #369BC2
split-complementary
#A336C2 #9BC236 #36C25D
monochromatic
#531B62 #7B2992 #A336C2 #BA62D3 #CF92E1

Accessibility & contrast

On white

5.43
#A336C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A336C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336C2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336C2#FFFFFF#000000##FFFFFF
##A336C21.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#3B6DBF
Tritanopia (blue-blind)
#A25279
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a336c2;
/* rgb */ color: rgb(163, 54, 194);
/* oklch */ color: oklch(55.1% 0.217 317.7);
Tailwind
colors: {
  custom: {
    50: '#c277d5',
    500: '#a336c2',
    950: '#000000',
  },
}
SCSS
$custom: #a336c2;
$custom-light: #c277d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a336c2",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 286.714,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.21742,
    "h": 317.7
  },
  "luminance": 0.1432
}

Semantic roles & 50–950 ramp

primary
#A336C2
secondary
#97CC88
accent
#E0486A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A336C2

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

Preview Lab → · Contrast checker → · Palette generator →

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