#A836D4#A836D4

#A836D4 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.235 H 314.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A836D4
RGBrgb(168, 54, 212)
HSLhsl(283, 65%, 52%)
HSVhsv(283, 75%, 83%)
CMYKcmyk(20.8%, 74.5%, 0%, 16.9%)
CIE-LABlab(46.60, 68.12, -59.39)
CIE-LCHlch(46.60, 90.37, 318.91°)
OKLaboklab(57% 0.1647 -0.1676)
OKLCHoklch(57% 0.235 314.5)
XYZxyz(29.3493, 15.7177, 63.7624)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836D4 #62D436
analogous
#5936D4 #A836D4 #D436B1
triadic
#A836D4 #D4A836 #36D4A8
tetradic
#A836D4 #D45936 #62D436 #36B1D4
square
#A836D4 #D45936 #62D436 #36B1D4
split-complementary
#A836D4 #B1D436 #36D459
monochromatic
#5C1976 #8424A9 #A836D4 #BE68DF #D49BEA

Accessibility & contrast

On white

5.07
#A836D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A836D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836D4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836D4#FFFFFF#000000##FFFFFF
##A836D41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#2C71D1
Tritanopia (blue-blind)
#A45983
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a836d4;
/* rgb */ color: rgb(168, 54, 212);
/* oklch */ color: oklch(57.0% 0.235 314.5);
Tailwind
colors: {
  custom: {
    50: '#c679e2',
    500: '#a836d4',
    950: '#000000',
  },
}
SCSS
$custom: #a836d4;
$custom-light: #c679e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a836d4",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 212
  },
  "hsl": {
    "h": 283.291,
    "s": 64.754,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57004,
    "c": 0.23499,
    "h": 314.5
  },
  "luminance": 0.15717
}

Semantic roles & 50–950 ramp

primary
#A836D4
secondary
#A4D590
accent
#E8406F
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A836D4

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

Preview Lab → · Contrast checker → · Palette generator →

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