#A836B2#A836B2

#A836B2 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.8% C 0.206 H 324.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#A836B2
RGBrgb(168, 54, 178)
HSLhsl(295, 53%, 45%)
HSVhsv(295, 70%, 70%)
CMYKcmyk(5.6%, 69.7%, 0%, 30.2%)
CIE-LABlab(44.49, 61.77, -43.02)
CIE-LCHlch(44.49, 75.27, 325.15°)
OKLaboklab(54.82% 0.1674 -0.1197)
OKLCHoklch(54.82% 0.206 324.4)
XYZxyz(25.5028, 14.1791, 43.5044)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A836B2 #40B236
analogous
#6A36B2 #A836B2 #B2367E
triadic
#A836B2 #B2A836 #36B2A8
tetradic
#A836B2 #B26A36 #40B236 #367EB2
square
#A836B2 #B26A36 #40B236 #367EB2
split-complementary
#A836B2 #7EB236 #36B26A
monochromatic
#4F1A54 #7C2883 #A836B2 #C359CD #D488DB

Accessibility & contrast

On white

5.48
#A836B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A836B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A836B2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A836B2#FFFFFF#000000##FFFFFF
##A836B21.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B6
Deuteranopia (green-blind)
#4D6EAF
Tritanopia (blue-blind)
#AB4A70
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a836b2;
/* rgb */ color: rgb(168, 54, 178);
/* oklch */ color: oklch(54.8% 0.206 324.4);
Tailwind
colors: {
  custom: {
    50: '#c577c9',
    500: '#a836b2',
    950: '#000000',
  },
}
SCSS
$custom: #a836b2;
$custom-light: #c577c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a836b2",
  "rgb": {
    "r": 168,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 295.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54824,
    "c": 0.20583,
    "h": 324.4
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#A836B2
secondary
#85C57F
accent
#DD4B57
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A836B2

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

Preview Lab → · Contrast checker → · Palette generator →

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