#A336D0#A336D0

#A336D0 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.230 H 313.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A336D0
RGBrgb(163, 54, 208)
HSLhsl(282, 62%, 51%)
HSVhsv(282, 74%, 82%)
CMYKcmyk(21.6%, 74%, 0%, 18.4%)
CIE-LABlab(45.61, 66.38, -58.74)
CIE-LCHlch(45.61, 88.64, 318.50°)
OKLaboklab(56.07% 0.1591 -0.1659)
OKLCHoklch(56.07% 0.23 313.8)
XYZxyz(27.8066, 14.9798, 61.0889)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336D0 #63D036
analogous
#5636D0 #A336D0 #D036B0
triadic
#A336D0 #D0A336 #36D0A3
tetradic
#A336D0 #D05636 #63D036 #36B0D0
square
#A336D0 #D05636 #63D036 #36B0D0
split-complementary
#A336D0 #B0D036 #36D056
monochromatic
#581A71 #7E26A3 #A336D0 #BA68DC #D099E7

Accessibility & contrast

On white

5.26
#A336D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#A336D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336D0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336D0#FFFFFF#000000##FFFFFF
##A336D01.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#296ECD
Tritanopia (blue-blind)
#9E5881
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a336d0;
/* rgb */ color: rgb(163, 54, 208);
/* oklch */ color: oklch(56.1% 0.230 313.8);
Tailwind
colors: {
  custom: {
    50: '#c378df',
    500: '#a336d0',
    950: '#000000',
  },
}
SCSS
$custom: #a336d0;
$custom-light: #c378df;
$custom-dark: #000000;
JSON
{
  "hex": "#a336d0",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 208
  },
  "hsl": {
    "h": 282.468,
    "s": 62.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56067,
    "c": 0.22982,
    "h": 313.8
  },
  "luminance": 0.14979
}

Semantic roles & 50–950 ramp

primary
#A336D0
secondary
#A3D38F
accent
#E54372
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A336D0

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

Preview Lab → · Contrast checker → · Palette generator →

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