#A336BF#A336BF

#A336BF is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.215 H 318.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A336BF
RGBrgb(163, 54, 191)
HSLhsl(288, 56%, 48%)
HSVhsv(288, 72%, 75%)
CMYKcmyk(14.7%, 71.7%, 0%, 25.1%)
CIE-LABlab(44.50, 63.07, -50.66)
CIE-LCHlch(44.50, 80.90, 321.23°)
OKLaboklab(54.93% 0.161 -0.1422)
OKLCHoklch(54.93% 0.215 318.6)
XYZxyz(25.8261, 14.1876, 50.6582)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A336BF #52BF36
analogous
#5E36BF #A336BF #BF3696
triadic
#A336BF #BFA336 #36BFA3
tetradic
#A336BF #BF5E36 #52BF36 #3696BF
square
#A336BF #BF5E36 #52BF36 #3696BF
split-complementary
#A336BF #96BF36 #36BF5E
monochromatic
#521B60 #7A298F #A336BF #BB60D2 #CF90E0

Accessibility & contrast

On white

5.47
#A336BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A336BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A336BF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A336BF#FFFFFF#000000##FFFFFF
##A336BF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#A35177
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a336bf;
/* rgb */ color: rgb(163, 54, 191);
/* oklch */ color: oklch(54.9% 0.215 318.6);
Tailwind
colors: {
  custom: {
    50: '#c277d3',
    500: '#a336bf',
    950: '#000000',
  },
}
SCSS
$custom: #a336bf;
$custom-light: #c277d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a336bf",
  "rgb": {
    "r": 163,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 287.737,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5493,
    "c": 0.2148,
    "h": 318.6
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#A336BF
secondary
#94CA87
accent
#DF4967
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A336BF

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

Preview Lab → · Contrast checker → · Palette generator →

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