#A336A4#A336A4

#A336A4 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.192 H 327.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A336A4
RGBrgb(163, 54, 164)
HSLhsl(299, 50%, 43%)
HSVhsv(299, 67%, 64%)
CMYKcmyk(0.6%, 67.1%, 0%, 35.7%)
CIE-LABlab(42.92, 58.15, -37.25)
CIE-LCHlch(42.92, 69.06, 327.36°)
OKLaboklab(53.29% 0.1617 -0.1031)
OKLCHoklch(53.29% 0.192 327.5)
XYZxyz(23.1239, 13.1068, 36.4267)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336A4 #37A436
analogous
#6C36A4 #A336A4 #A4366E
triadic
#A336A4 #A4A336 #36A4A3
tetradic
#A336A4 #A46C36 #37A436 #366EA4
square
#A336A4 #A46C36 #37A436 #366EA4
split-complementary
#A336A4 #6EA436 #36A46C
monochromatic
#471848 #752776 #A336A4 #C551C6 #D47FD5

Accessibility & contrast

On white

5.80
#A336A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A336A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336A4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336A4#FFFFFF#000000##FFFFFF
##A336A41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255CA7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#A84669
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a336a4;
/* rgb */ color: rgb(163, 54, 164);
/* oklch */ color: oklch(53.3% 0.192 327.5);
Tailwind
colors: {
  custom: {
    50: '#c176bf',
    500: '#a336a4',
    950: '#000000',
  },
}
SCSS
$custom: #a336a4;
$custom-light: #c176bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a336a4",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 299.455,
    "s": 50.459,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53292,
    "c": 0.19173,
    "h": 327.5
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#A336A4
secondary
#78BE78
accent
#DA4E4F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A336A4

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

Preview Lab → · Contrast checker → · Palette generator →

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