#A837D6#A837D6

#A837D6 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.236 H 313.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A837D6
RGBrgb(168, 55, 214)
HSLhsl(283, 66%, 53%)
HSVhsv(283, 74%, 84%)
CMYKcmyk(21.5%, 74.3%, 0%, 16.1%)
CIE-LABlab(46.86, 68.15, -60.12)
CIE-LCHlch(46.86, 90.88, 318.58°)
OKLaboklab(57.23% 0.1635 -0.1698)
OKLCHoklch(57.23% 0.236 313.9)
XYZxyz(29.6502, 15.9132, 65.1150)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837D6 #65D637
analogous
#5937D6 #A837D6 #D637B4
triadic
#A837D6 #D6A837 #37D6A8
tetradic
#A837D6 #D65937 #65D637 #37B4D6
square
#A837D6 #D65937 #65D637 #37B4D6
split-complementary
#A837D6 #B4D637 #37D659
monochromatic
#5E197A #8523AC #A837D6 #BE6AE0 #D49DEB

Accessibility & contrast

On white

5.02
#A837D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A837D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837D6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837D6#FFFFFF#000000##FFFFFF
##A837D61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#2A72D3
Tritanopia (blue-blind)
#A35B84
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a837d6;
/* rgb */ color: rgb(168, 55, 214);
/* oklch */ color: oklch(57.2% 0.236 313.9);
Tailwind
colors: {
  custom: {
    50: '#c779e3',
    500: '#a837d6',
    950: '#000000',
  },
}
SCSS
$custom: #a837d6;
$custom-light: #c779e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a837d6",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 214
  },
  "hsl": {
    "h": 282.642,
    "s": 65.975,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.23572,
    "h": 313.9
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#A837D6
secondary
#A6D792
accent
#E93F70
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A837D6

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

Preview Lab → · Contrast checker → · Palette generator →

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