#A336CD#A336CD

#A336CD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.227 H 314.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A336CD
RGBrgb(163, 54, 205)
HSLhsl(283, 60%, 51%)
HSVhsv(283, 74%, 80%)
CMYKcmyk(20.5%, 73.7%, 0%, 19.6%)
CIE-LABlab(45.41, 65.79, -57.33)
CIE-LCHlch(45.41, 87.26, 318.93°)
OKLaboklab(55.86% 0.1595 -0.1617)
OKLCHoklch(55.86% 0.227 314.6)
XYZxyz(27.4410, 14.8336, 59.1634)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336CD #60CD36
analogous
#5736CD #A336CD #CD36AB
triadic
#A336CD #CDA336 #36CDA3
tetradic
#A336CD #CD5736 #60CD36 #36ABCD
square
#A336CD #CD5736 #60CD36 #36ABCD
split-complementary
#A336CD #ABCD36 #36CD57
monochromatic
#571B6D #7D279E #A336CD #B967D9 #D098E5

Accessibility & contrast

On white

5.29
#A336CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A336CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336CD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336CD#FFFFFF#000000##FFFFFF
##A336CD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2E6ECA
Tritanopia (blue-blind)
#9F577F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a336cd;
/* rgb */ color: rgb(163, 54, 205);
/* oklch */ color: oklch(55.9% 0.227 314.6);
Tailwind
colors: {
  custom: {
    50: '#c378dd',
    500: '#a336cd',
    950: '#000000',
  },
}
SCSS
$custom: #a336cd;
$custom-light: #c378dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a336cd",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 283.311,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.22714,
    "h": 314.6
  },
  "luminance": 0.14833
}

Semantic roles & 50–950 ramp

primary
#A336CD
secondary
#A1D18E
accent
#E34471
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A336CD

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

Preview Lab → · Contrast checker → · Palette generator →

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