#A336A6#A336A6

#A336A6 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.4% C 0.193 H 326.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A336A6
RGBrgb(163, 54, 166)
HSLhsl(298, 51%, 43%)
HSVhsv(298, 67%, 65%)
CMYKcmyk(1.8%, 67.5%, 0%, 34.9%)
CIE-LABlab(43.03, 58.50, -38.27)
CIE-LCHlch(43.03, 69.91, 326.81°)
OKLaboklab(53.41% 0.1617 -0.106)
OKLCHoklch(53.41% 0.193 326.8)
XYZxyz(23.3060, 13.1796, 37.3854)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336A6 #39A636
analogous
#6B36A6 #A336A6 #A63671
triadic
#A336A6 #A6A336 #36A6A3
tetradic
#A336A6 #A66B36 #39A636 #3671A6
square
#A336A6 #A66B36 #39A636 #3671A6
split-complementary
#A336A6 #71A636 #36A66B
monochromatic
#48184A #762778 #A336A6 #C452C7 #D481D6

Accessibility & contrast

On white

5.78
#A336A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A336A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336A6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336A6#FFFFFF#000000##FFFFFF
##A336A61.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DA9
Deuteranopia (green-blind)
#506AA3
Tritanopia (blue-blind)
#A7466A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a336a6;
/* rgb */ color: rgb(163, 54, 166);
/* oklch */ color: oklch(53.4% 0.193 326.8);
Tailwind
colors: {
  custom: {
    50: '#c276c1',
    500: '#a336a6',
    950: '#000000',
  },
}
SCSS
$custom: #a336a6;
$custom-light: #c276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a336a6",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 298.393,
    "s": 50.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53405,
    "c": 0.19338,
    "h": 326.8
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#A336A6
secondary
#7ABF79
accent
#DA4D51
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A336A6

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

Preview Lab → · Contrast checker → · Palette generator →

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