#A336D2#A336D2

#A336D2 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.232 H 313.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A336D2
RGBrgb(163, 54, 210)
HSLhsl(282, 63%, 52%)
HSVhsv(282, 74%, 82%)
CMYKcmyk(22.4%, 74.3%, 0%, 17.6%)
CIE-LABlab(45.74, 66.78, -59.67)
CIE-LCHlch(45.74, 89.55, 318.22°)
OKLaboklab(56.21% 0.1588 -0.1686)
OKLCHoklch(56.21% 0.232 313.3)
XYZxyz(28.0542, 15.0789, 62.3930)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336D2 #65D236
analogous
#5536D2 #A336D2 #D236B3
triadic
#A336D2 #D2A336 #36D2A3
tetradic
#A336D2 #D25536 #65D236 #36B3D2
square
#A336D2 #D25536 #65D236 #36B3D2
split-complementary
#A336D2 #B3D236 #36D255
monochromatic
#591A74 #7F25A6 #A336D2 #BA68DD #D19AE8

Accessibility & contrast

On white

5.23
#A336D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A336D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336D2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336D2#FFFFFF#000000##FFFFFF
##A336D21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#266FCF
Tritanopia (blue-blind)
#9E5982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a336d2;
/* rgb */ color: rgb(163, 54, 210);
/* oklch */ color: oklch(56.2% 0.232 313.3);
Tailwind
colors: {
  custom: {
    50: '#c378e1',
    500: '#a336d2',
    950: '#000000',
  },
}
SCSS
$custom: #a336d2;
$custom-light: #c378e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a336d2",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 281.923,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56206,
    "c": 0.23159,
    "h": 313.3
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#A336D2
secondary
#A4D490
accent
#E64173
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A336D2

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

Preview Lab → · Contrast checker → · Palette generator →

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