#A836CC#A836CC

#A836CC is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.228 H 316.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A836CC
RGBrgb(168, 54, 204)
HSLhsl(286, 60%, 51%)
HSVhsv(286, 74%, 80%)
CMYKcmyk(17.6%, 73.5%, 0%, 20%)
CIE-LABlab(46.07, 66.57, -55.64)
CIE-LCHlch(46.07, 86.76, 320.11°)
OKLaboklab(56.46% 0.1657 -0.1566)
OKLCHoklch(56.46% 0.228 316.6)
XYZxyz(28.3650, 15.3240, 58.5787)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836CC #5ACC36
analogous
#5D36CC #A836CC #CC36A5
triadic
#A836CC #CCA836 #36CCA8
tetradic
#A836CC #CC5D36 #5ACC36 #36A5CC
square
#A836CC #CC5D36 #5ACC36 #36A5CC
split-complementary
#A836CC #A5CC36 #36CC5D
monochromatic
#591B6C #81289D #A836CC #BD67D8 #D298E5

Accessibility & contrast

On white

5.17
#A836CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A836CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836CC#FFFFFF#000000##FFFFFF
##A836CC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#3770C9
Tritanopia (blue-blind)
#A6567F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a836cc;
/* rgb */ color: rgb(168, 54, 204);
/* oklch */ color: oklch(56.5% 0.228 316.6);
Tailwind
colors: {
  custom: {
    50: '#c678dc',
    500: '#a836cc',
    950: '#000000',
  },
}
SCSS
$custom: #a836cc;
$custom-light: #c678dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a836cc",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 285.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.22803,
    "h": 316.6
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#A836CC
secondary
#9ED08E
accent
#E3456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A836CC

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

Preview Lab → · Contrast checker → · Palette generator →

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