#A336BA#A336BA

#A336BA is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.210 H 320.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A336BA
RGBrgb(163, 54, 186)
HSLhsl(290, 55%, 47%)
HSVhsv(290, 71%, 73%)
CMYKcmyk(12.4%, 71%, 0%, 27.1%)
CIE-LABlab(44.19, 62.13, -48.23)
CIE-LCHlch(44.19, 78.65, 322.17°)
OKLaboklab(54.61% 0.1614 -0.1351)
OKLCHoklch(54.61% 0.21 320.1)
XYZxyz(25.2853, 13.9713, 47.8097)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336BA #4DBA36
analogous
#6136BA #A336BA #BA368F
triadic
#A336BA #BAA336 #36BAA3
tetradic
#A336BA #BA6136 #4DBA36 #368FBA
square
#A336BA #BA6136 #4DBA36 #368FBA
split-complementary
#A336BA #8FBA36 #36BA61
monochromatic
#501A5B #79288B #A336BA #BC5DD0 #D08DDE

Accessibility & contrast

On white

5.54
#A336BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#A336BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336BA#FFFFFF#000000##FFFFFF
##A336BA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#A44F75
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a336ba;
/* rgb */ color: rgb(163, 54, 186);
/* oklch */ color: oklch(54.6% 0.210 320.1);
Tailwind
colors: {
  custom: {
    50: '#c277cf',
    500: '#a336ba',
    950: '#000000',
  },
}
SCSS
$custom: #a336ba;
$custom-light: #c277cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a336ba",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 289.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.21043,
    "h": 320.1
  },
  "luminance": 0.1397
}

Semantic roles & 50–950 ramp

primary
#A336BA
secondary
#90C884
accent
#DE4963
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A336BA

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

Preview Lab → · Contrast checker → · Palette generator →

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