#A336B8#A336B8

#A336B8 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.209 H 320.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A336B8
RGBrgb(163, 54, 184)
HSLhsl(290, 55%, 47%)
HSVhsv(290, 71%, 72%)
CMYKcmyk(11.4%, 70.7%, 0%, 27.8%)
CIE-LABlab(44.07, 61.75, -47.26)
CIE-LCHlch(44.07, 77.76, 322.57°)
OKLaboklab(54.48% 0.1615 -0.1322)
OKLCHoklch(54.48% 0.209 320.7)
XYZxyz(25.0741, 13.8869, 46.6978)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B8 #4BB836
analogous
#6236B8 #A336B8 #B8368C
triadic
#A336B8 #B8A336 #36B8A3
tetradic
#A336B8 #B86236 #4BB836 #368CB8
square
#A336B8 #B86236 #4BB836 #368CB8
split-complementary
#A336B8 #8CB836 #36B862
monochromatic
#4F1A59 #792889 #A336B8 #BD5CCF #D08BDD

Accessibility & contrast

On white

5.56
#A336B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A336B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B8#FFFFFF#000000##FFFFFF
##A336B81.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#446CB5
Tritanopia (blue-blind)
#A44E73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b8;
/* rgb */ color: rgb(163, 54, 184);
/* oklch */ color: oklch(54.5% 0.209 320.7);
Tailwind
colors: {
  custom: {
    50: '#c277ce',
    500: '#a336b8',
    950: '#000000',
  },
}
SCSS
$custom: #a336b8;
$custom-light: #c277ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b8",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 290.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54484,
    "c": 0.2087,
    "h": 320.7
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#A336B8
secondary
#8EC782
accent
#DE4A62
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A336B8

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

Preview Lab → · Contrast checker → · Palette generator →

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