#A836D2#A836D2

#A836D2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.233 H 315.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A836D2
RGBrgb(168, 54, 210)
HSLhsl(284, 63%, 52%)
HSVhsv(284, 74%, 82%)
CMYKcmyk(20%, 74.3%, 0%, 17.6%)
CIE-LABlab(46.47, 67.73, -58.46)
CIE-LCHlch(46.47, 89.47, 319.20°)
OKLaboklab(56.87% 0.165 -0.1649)
OKLCHoklch(56.87% 0.233 315)
XYZxyz(29.0986, 15.6174, 62.4419)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836D2 #60D236
analogous
#5A36D2 #A836D2 #D236AE
triadic
#A836D2 #D2A836 #36D2A8
tetradic
#A836D2 #D25A36 #60D236 #36AED2
square
#A836D2 #D25A36 #60D236 #36AED2
split-complementary
#A836D2 #AED236 #36D25A
monochromatic
#5C1A74 #8325A6 #A836D2 #BE68DD #D39AE8

Accessibility & contrast

On white

5.09
#A836D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A836D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836D2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836D2#FFFFFF#000000##FFFFFF
##A836D21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#A45982
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a836d2;
/* rgb */ color: rgb(168, 54, 210);
/* oklch */ color: oklch(56.9% 0.233 315.0);
Tailwind
colors: {
  custom: {
    50: '#c678e1',
    500: '#a836d2',
    950: '#000000',
  },
}
SCSS
$custom: #a836d2;
$custom-light: #c678e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a836d2",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 210
  },
  "hsl": {
    "h": 283.846,
    "s": 63.415,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.23325,
    "h": 315
  },
  "luminance": 0.15616
}

Semantic roles & 50–950 ramp

primary
#A836D2
secondary
#A2D490
accent
#E6416E
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A836D2

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

Preview Lab → · Contrast checker → · Palette generator →

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