#A336C7#A336C7

#A336C7 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.222 H 316.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A336C7
RGBrgb(163, 54, 199)
HSLhsl(285, 57%, 50%)
HSVhsv(285, 73%, 78%)
CMYKcmyk(18.1%, 72.9%, 0%, 22%)
CIE-LABlab(45.01, 64.61, -54.50)
CIE-LCHlch(45.01, 84.52, 319.85°)
OKLaboklab(55.46% 0.1602 -0.1534)
OKLCHoklch(55.46% 0.222 316.2)
XYZxyz(26.7306, 14.5495, 55.4220)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336C7 #5AC736
analogous
#5A36C7 #A336C7 #C736A3
triadic
#A336C7 #C7A336 #36C7A3
tetradic
#A336C7 #C75A36 #5AC736 #36A3C7
square
#A336C7 #C75A36 #5AC736 #36A3C7
split-complementary
#A336C7 #A3C736 #36C75A
monochromatic
#541C67 #7C2997 #A336C7 #B965D5 #CF95E2

Accessibility & contrast

On white

5.37
#A336C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A336C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336C7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336C7#FFFFFF#000000##FFFFFF
##A336C71.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#356EC4
Tritanopia (blue-blind)
#A1557C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a336c7;
/* rgb */ color: rgb(163, 54, 199);
/* oklch */ color: oklch(55.5% 0.222 316.2);
Tailwind
colors: {
  custom: {
    50: '#c277d9',
    500: '#a336c7',
    950: '#000000',
  },
}
SCSS
$custom: #a336c7;
$custom-light: #c277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a336c7",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 285.103,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.22183,
    "h": 316.2
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#A336C7
secondary
#9CCE8B
accent
#E1476D
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #A336C7

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

Preview Lab → · Contrast checker → · Palette generator →

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