#A336AB#A336AB

#A336AB is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.198 H 325.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A336AB
RGBrgb(163, 54, 171)
HSLhsl(296, 52%, 44%)
HSVhsv(296, 68%, 67%)
CMYKcmyk(4.7%, 68.4%, 0%, 32.9%)
CIE-LABlab(43.31, 59.38, -40.80)
CIE-LCHlch(43.31, 72.05, 325.51°)
OKLaboklab(53.7% 0.1618 -0.1134)
OKLCHoklch(53.7% 0.198 325)
XYZxyz(23.7735, 13.3666, 39.8480)
Luminance0.1336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336AB #3EAB36
analogous
#6836AB #A336AB #AB3679
triadic
#A336AB #ABA336 #36ABA3
tetradic
#A336AB #AB6836 #3EAB36 #3679AB
square
#A336AB #AB6836 #3EAB36 #3679AB
split-complementary
#A336AB #79AB36 #36AB68
monochromatic
#4A194E #77277C #A336AB #C155C9 #D283D8

Accessibility & contrast

On white

5.72
#A336AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A336AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336AB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336AB#FFFFFF#000000##FFFFFF
##A336AB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#4D6BA8
Tritanopia (blue-blind)
#A7496C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a336ab;
/* rgb */ color: rgb(163, 54, 171);
/* oklch */ color: oklch(53.7% 0.198 325.0);
Tailwind
colors: {
  custom: {
    50: '#c276c4',
    500: '#a336ab',
    950: '#000000',
  },
}
SCSS
$custom: #a336ab;
$custom-light: #c276c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a336ab",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 295.897,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.19757,
    "h": 325
  },
  "luminance": 0.13365
}

Semantic roles & 50–950 ramp

primary
#A336AB
secondary
#80C27B
accent
#DB4C56
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A336AB

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

Preview Lab → · Contrast checker → · Palette generator →

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