#A836C8#A836C8

#A836C8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.225 H 317.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A836C8
RGBrgb(168, 54, 200)
HSLhsl(287, 57%, 50%)
HSVhsv(287, 73%, 78%)
CMYKcmyk(16%, 73%, 0%, 21.6%)
CIE-LABlab(45.82, 65.81, -53.74)
CIE-LCHlch(45.82, 84.96, 320.76°)
OKLaboklab(56.2% 0.1662 -0.151)
OKLCHoklch(56.2% 0.225 317.7)
XYZxyz(27.8915, 15.1345, 56.0845)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836C8 #56C836
analogous
#5F36C8 #A836C8 #C8369F
triadic
#A836C8 #C8A836 #36C8A8
tetradic
#A836C8 #C85F36 #56C836 #369FC8
square
#A836C8 #C85F36 #56C836 #369FC8
split-complementary
#A836C8 #9FC836 #36C85F
monochromatic
#571C68 #802998 #A836C8 #BD66D6 #D296E3

Accessibility & contrast

On white

5.22
#A836C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A836C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836C8#FFFFFF#000000##FFFFFF
##A836C81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#A7547C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a836c8;
/* rgb */ color: rgb(168, 54, 200);
/* oklch */ color: oklch(56.2% 0.225 317.7);
Tailwind
colors: {
  custom: {
    50: '#c678d9',
    500: '#a836c8',
    950: '#000000',
  },
}
SCSS
$custom: #a836c8;
$custom-light: #c678d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a836c8",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 286.849,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56199,
    "c": 0.22456,
    "h": 317.7
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#A836C8
secondary
#9ACE8C
accent
#E14769
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A836C8

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

Preview Lab → · Contrast checker → · Palette generator →

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