#A336A2#A336A2

#A336A2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 328.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A336A2
RGBrgb(163, 54, 162)
HSLhsl(301, 50%, 43%)
HSVhsv(301, 67%, 64%)
CMYKcmyk(0%, 66.9%, 0.6%, 36.1%)
CIE-LABlab(42.82, 57.81, -36.22)
CIE-LCHlch(42.82, 68.22, 327.93°)
OKLaboklab(53.18% 0.1616 -0.1001)
OKLCHoklch(53.18% 0.19 328.2)
XYZxyz(22.9447, 13.0351, 35.4829)
Luminance0.1303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336A2 #36A337
analogous
#6D36A3 #A336A2 #A3366C
triadic
#A336A2 #A2A336 #36A2A3
tetradic
#A336A2 #A36D36 #36A337 #366CA3
square
#A336A2 #A36D36 #36A337 #366CA3
split-complementary
#A336A2 #6CA336 #36A36D
monochromatic
#471847 #752774 #A336A2 #C551C4 #D57FD4

Accessibility & contrast

On white

5.82
#A336A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A336A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336A2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336A2#FFFFFF#000000##FFFFFF
##A336A21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a336a2;
/* rgb */ color: rgb(163, 54, 162);
/* oklch */ color: oklch(53.2% 0.190 328.2);
Tailwind
colors: {
  custom: {
    50: '#c176be',
    500: '#a336a2',
    950: '#000000',
  },
}
SCSS
$custom: #a336a2;
$custom-light: #c176be;
$custom-dark: #000000;
JSON
{
  "hex": "#a336a2",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 162
  },
  "hsl": {
    "h": 300.55,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.19008,
    "h": 328.2
  },
  "luminance": 0.13033
}

Semantic roles & 50–950 ramp

primary
#A336A2
secondary
#77BE78
accent
#DA4F4E
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A336A2

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

Preview Lab → · Contrast checker → · Palette generator →

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