#A836CD#A836CD

#A836CD is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.229 H 316.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A836CD
RGBrgb(168, 54, 205)
HSLhsl(285, 60%, 51%)
HSVhsv(285, 74%, 80%)
CMYKcmyk(18%, 73.7%, 0%, 19.6%)
CIE-LABlab(46.14, 66.76, -56.11)
CIE-LCHlch(46.14, 87.21, 319.95°)
OKLaboklab(56.53% 0.1656 -0.158)
OKLCHoklch(56.53% 0.229 316.3)
XYZxyz(28.4854, 15.3721, 59.2124)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836CD #5BCD36
analogous
#5C36CD #A836CD #CD36A6
triadic
#A836CD #CDA836 #36CDA8
tetradic
#A836CD #CD5C36 #5BCD36 #36A6CD
square
#A836CD #CD5C36 #5BCD36 #36A6CD
split-complementary
#A836CD #A6CD36 #36CD5C
monochromatic
#591B6D #81279E #A836CD #BD67D9 #D298E5

Accessibility & contrast

On white

5.15
#A836CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A836CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836CD#FFFFFF#000000##FFFFFF
##A836CD1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3670CA
Tritanopia (blue-blind)
#A6567F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a836cd;
/* rgb */ color: rgb(168, 54, 205);
/* oklch */ color: oklch(56.5% 0.229 316.3);
Tailwind
colors: {
  custom: {
    50: '#c678dd',
    500: '#a836cd',
    950: '#000000',
  },
}
SCSS
$custom: #a836cd;
$custom-light: #c678dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a836cd",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 285.298,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.2289,
    "h": 316.3
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#A836CD
secondary
#9ED18E
accent
#E3446B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A836CD

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

Preview Lab → · Contrast checker → · Palette generator →

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