#A336B2#A336B2

#A336B2 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.204 H 322.6°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A336B2
RGBrgb(163, 54, 178)
HSLhsl(293, 53%, 45%)
HSVhsv(293, 70%, 70%)
CMYKcmyk(8.4%, 69.7%, 0%, 30.2%)
CIE-LABlab(43.71, 60.65, -44.30)
CIE-LCHlch(43.71, 75.10, 323.85°)
OKLaboklab(54.11% 0.1617 -0.1236)
OKLCHoklch(54.11% 0.204 322.6)
XYZxyz(24.4585, 13.6406, 43.4555)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B2 #45B236
analogous
#6536B2 #A336B2 #B23683
triadic
#A336B2 #B2A336 #36B2A3
tetradic
#A336B2 #B26536 #45B236 #3683B2
square
#A336B2 #B26536 #45B236 #3683B2
split-complementary
#A336B2 #83B236 #36B265
monochromatic
#4D1A54 #782883 #A336B2 #BF59CD #D188DB

Accessibility & contrast

On white

5.63
#A336B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A336B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B2#FFFFFF#000000##FFFFFF
##A336B21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB6
Deuteranopia (green-blind)
#486CAF
Tritanopia (blue-blind)
#A54C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a336b2;
/* rgb */ color: rgb(163, 54, 178);
/* oklch */ color: oklch(54.1% 0.204 322.6);
Tailwind
colors: {
  custom: {
    50: '#c277c9',
    500: '#a336b2',
    950: '#000000',
  },
}
SCSS
$custom: #a336b2;
$custom-light: #c277c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b2",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 292.742,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.20352,
    "h": 322.6
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#A336B2
secondary
#87C57F
accent
#DD4B5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A336B2

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

Preview Lab → · Contrast checker → · Palette generator →

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