#A336D7#A336D7

#A336D7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.236 H 312.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A336D7
RGBrgb(163, 54, 215)
HSLhsl(281, 67%, 53%)
HSVhsv(281, 75%, 84%)
CMYKcmyk(24.2%, 74.9%, 0%, 15.7%)
CIE-LABlab(46.09, 67.78, -61.98)
CIE-LCHlch(46.09, 91.85, 317.56°)
OKLaboklab(56.56% 0.158 -0.1754)
OKLCHoklch(56.56% 0.236 312)
XYZxyz(28.6869, 15.3320, 65.7250)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336D7 #6AD736
analogous
#5236D7 #A336D7 #D736BB
triadic
#A336D7 #D7A336 #36D7A3
tetradic
#A336D7 #D75236 #6AD736 #36BBD7
square
#A336D7 #D75236 #6AD736 #36BBD7
split-complementary
#A336D7 #BBD736 #36D752
monochromatic
#5B187A #8022AD #A336D7 #BA69E1 #D29CEB

Accessibility & contrast

On white

5.16
#A336D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A336D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336D7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336D7#FFFFFF#000000##FFFFFF
##A336D71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#1C6FD4
Tritanopia (blue-blind)
#9D5C85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a336d7;
/* rgb */ color: rgb(163, 54, 215);
/* oklch */ color: oklch(56.6% 0.236 312.0);
Tailwind
colors: {
  custom: {
    50: '#c378e4',
    500: '#a336d7',
    950: '#000000',
  },
}
SCSS
$custom: #a336d7;
$custom-light: #c378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a336d7",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 215
  },
  "hsl": {
    "h": 280.621,
    "s": 66.805,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.23606,
    "h": 312
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#A336D7
secondary
#A8D792
accent
#EA3E76
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A336D7

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

Preview Lab → · Contrast checker → · Palette generator →

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