#A336AC#A336AC

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

Color values

HEX#A336AC
RGBrgb(163, 54, 172)
HSLhsl(295, 52%, 44%)
HSVhsv(295, 69%, 67%)
CMYKcmyk(5.2%, 68.6%, 0%, 32.5%)
CIE-LABlab(43.37, 59.56, -41.30)
CIE-LCHlch(43.37, 72.48, 325.26°)
OKLaboklab(53.75% 0.1618 -0.1148)
OKLCHoklch(53.75% 0.198 324.6)
XYZxyz(23.8692, 13.4049, 40.3519)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336AC #3FAC36
analogous
#6836AC #A336AC #AC367A
triadic
#A336AC #ACA336 #36ACA3
tetradic
#A336AC #AC6836 #3FAC36 #367AAC
square
#A336AC #AC6836 #3FAC36 #367AAC
split-complementary
#A336AC #7AAC36 #36AC68
monochromatic
#4B194F #77277D #A336AC #C155CA #D284D8

Accessibility & contrast

On white

5.71
#A336AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A336AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336AC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336AC#FFFFFF#000000##FFFFFF
##A336AC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#4C6BA9
Tritanopia (blue-blind)
#A6496D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a336ac;
/* rgb */ color: rgb(163, 54, 172);
/* oklch */ color: oklch(53.8% 0.198 324.6);
Tailwind
colors: {
  custom: {
    50: '#c276c5',
    500: '#a336ac',
    950: '#000000',
  },
}
SCSS
$custom: #a336ac;
$custom-light: #c276c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a336ac",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 295.424,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.19841,
    "h": 324.6
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#A336AC
secondary
#81C27C
accent
#DC4C57
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A336AC

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

Preview Lab → · Contrast checker → · Palette generator →

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