#A336B7#A336B7

#A336B7 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.208 H 321.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A336B7
RGBrgb(163, 54, 183)
HSLhsl(291, 54%, 46%)
HSVhsv(291, 70%, 72%)
CMYKcmyk(10.9%, 70.5%, 0%, 28.2%)
CIE-LABlab(44.01, 61.57, -46.77)
CIE-LCHlch(44.01, 77.31, 322.78°)
OKLaboklab(54.42% 0.1615 -0.1308)
OKLCHoklch(54.42% 0.208 321)
XYZxyz(24.9697, 13.8451, 46.1477)
Luminance0.1384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336B7 #4AB736
analogous
#6336B7 #A336B7 #B7368B
triadic
#A336B7 #B7A336 #36B7A3
tetradic
#A336B7 #B76336 #4AB736 #368BB7
square
#A336B7 #B76336 #4AB736 #368BB7
split-complementary
#A336B7 #8BB736 #36B763
monochromatic
#4F1A58 #792888 #A336B7 #BD5BCF #D08BDD

Accessibility & contrast

On white

5.57
#A336B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#A336B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336B7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336B7#FFFFFF#000000##FFFFFF
##A336B71.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#446CB4
Tritanopia (blue-blind)
#A44E73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336b7;
/* rgb */ color: rgb(163, 54, 183);
/* oklch */ color: oklch(54.4% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#c277cd',
    500: '#a336b7',
    950: '#000000',
  },
}
SCSS
$custom: #a336b7;
$custom-light: #c277cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a336b7",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 290.698,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.20783,
    "h": 321
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#A336B7
secondary
#8DC782
accent
#DE4A61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A336B7

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

Preview Lab → · Contrast checker → · Palette generator →

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