#A836B7#A836B7

#A836B7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.1% C 0.210 H 322.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#A836B7
RGBrgb(168, 54, 183)
HSLhsl(293, 54%, 46%)
HSVhsv(293, 70%, 72%)
CMYKcmyk(8.2%, 70.5%, 0%, 28.2%)
CIE-LABlab(44.78, 62.66, -45.49)
CIE-LCHlch(44.78, 77.43, 324.02°)
OKLaboklab(55.12% 0.1673 -0.1269)
OKLCHoklch(55.12% 0.21 322.8)
XYZxyz(26.0140, 14.3836, 46.1966)
Luminance0.1438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836B7 #45B736
analogous
#6836B7 #A836B7 #B73686
triadic
#A836B7 #B7A836 #36B7A8
tetradic
#A836B7 #B76836 #45B736 #3686B7
square
#A836B7 #B76836 #45B736 #3686B7
split-complementary
#A836B7 #86B736 #36B768
monochromatic
#511A58 #7D2888 #A836B7 #C15BCF #D38BDD

Accessibility & contrast

On white

5.42
#A836B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A836B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836B7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836B7#FFFFFF#000000##FFFFFF
##A836B71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0561BB
Deuteranopia (green-blind)
#4A6EB4
Tritanopia (blue-blind)
#AA4D73
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a836b7;
/* rgb */ color: rgb(168, 54, 183);
/* oklch */ color: oklch(55.1% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#c577cd',
    500: '#a836b7',
    950: '#000000',
  },
}
SCSS
$custom: #a836b7;
$custom-light: #c577cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a836b7",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 183
  },
  "hsl": {
    "h": 293.023,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.21003,
    "h": 322.8
  },
  "luminance": 0.14382
}

Semantic roles & 50–950 ramp

primary
#A836B7
secondary
#8AC782
accent
#DE4A5B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A836B7

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

Preview Lab → · Contrast checker → · Palette generator →

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