#A836CA#A836CA

#A836CA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.226 H 317.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A836CA
RGBrgb(168, 54, 202)
HSLhsl(286, 58%, 50%)
HSVhsv(286, 73%, 79%)
CMYKcmyk(16.8%, 73.3%, 0%, 20.8%)
CIE-LABlab(45.95, 66.19, -54.69)
CIE-LCHlch(45.95, 85.86, 320.43°)
OKLaboklab(56.33% 0.166 -0.1538)
OKLCHoklch(56.33% 0.226 317.2)
XYZxyz(28.1267, 15.2286, 57.3235)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836CA #58CA36
analogous
#5E36CA #A836CA #CA36A2
triadic
#A836CA #CAA836 #36CAA8
tetradic
#A836CA #CA5E36 #58CA36 #36A2CA
square
#A836CA #CA5E36 #58CA36 #36A2CA
split-complementary
#A836CA #A2CA36 #36CA5E
monochromatic
#581C6A #80299A #A836CA #BD66D7 #D297E4

Accessibility & contrast

On white

5.19
#A836CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A836CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836CA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836CA#FFFFFF#000000##FFFFFF
##A836CA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#A6557D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a836ca;
/* rgb */ color: rgb(168, 54, 202);
/* oklch */ color: oklch(56.3% 0.226 317.2);
Tailwind
colors: {
  custom: {
    50: '#c678db',
    500: '#a836ca',
    950: '#000000',
  },
}
SCSS
$custom: #a836ca;
$custom-light: #c678db;
$custom-dark: #000000;
JSON
{
  "hex": "#a836ca",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 286.216,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5633,
    "c": 0.22629,
    "h": 317.2
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#A836CA
secondary
#9CCF8D
accent
#E1466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A836CA

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

Preview Lab → · Contrast checker → · Palette generator →

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