#A836C2#A836C2

#A836C2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.219 H 319.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#A836C2
RGBrgb(168, 54, 194)
HSLhsl(289, 56%, 49%)
HSVhsv(289, 72%, 76%)
CMYKcmyk(13.4%, 72.2%, 0%, 23.9%)
CIE-LABlab(45.44, 64.68, -50.86)
CIE-LCHlch(45.44, 82.28, 321.82°)
OKLaboklab(55.81% 0.1667 -0.1426)
OKLCHoklch(55.81% 0.219 319.5)
XYZxyz(27.2040, 14.8595, 52.4637)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836C2 #50C236
analogous
#6236C2 #A836C2 #C23696
triadic
#A836C2 #C2A836 #36C2A8
tetradic
#A836C2 #C26236 #50C236 #3696C2
square
#A836C2 #C26236 #50C236 #3696C2
split-complementary
#A836C2 #96C236 #36C262
monochromatic
#551B62 #7F2992 #A836C2 #BE62D3 #D292E1

Accessibility & contrast

On white

5.29
#A836C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A836C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836C2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836C2#FFFFFF#000000##FFFFFF
##A836C21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#416FBF
Tritanopia (blue-blind)
#A85179
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a836c2;
/* rgb */ color: rgb(168, 54, 194);
/* oklch */ color: oklch(55.8% 0.219 319.5);
Tailwind
colors: {
  custom: {
    50: '#c678d5',
    500: '#a836c2',
    950: '#000000',
  },
}
SCSS
$custom: #a836c2;
$custom-light: #c678d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a836c2",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 194
  },
  "hsl": {
    "h": 288.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55811,
    "c": 0.21939,
    "h": 319.5
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#A836C2
secondary
#95CC88
accent
#E04864
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A836C2

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

Preview Lab → · Contrast checker → · Palette generator →

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