#A837CC#A837CC

#A837CC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.227 H 316.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A837CC
RGBrgb(168, 55, 204)
HSLhsl(286, 59%, 51%)
HSVhsv(286, 73%, 80%)
CMYKcmyk(17.6%, 73%, 0%, 20%)
CIE-LABlab(46.20, 66.21, -55.43)
CIE-LCHlch(46.20, 86.35, 320.06°)
OKLaboklab(56.55% 0.1648 -0.156)
OKLCHoklch(56.55% 0.227 316.6)
XYZxyz(28.4121, 15.4180, 58.5944)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837CC #5BCC37
analogous
#5D37CC #A837CC #CC37A6
triadic
#A837CC #CCA837 #37CCA8
tetradic
#A837CC #CC5D37 #5BCC37 #37A6CC
square
#A837CC #CC5D37 #5BCC37 #37A6CC
split-complementary
#A837CC #A6CC37 #37CC5D
monochromatic
#591C6D #81289E #A837CC #BD68D8 #D299E5

Accessibility & contrast

On white

5.14
#A837CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A837CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837CC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837CC#FFFFFF#000000##FFFFFF
##A837CC1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3871C9
Tritanopia (blue-blind)
#A6567F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a837cc;
/* rgb */ color: rgb(168, 55, 204);
/* oklch */ color: oklch(56.6% 0.227 316.6);
Tailwind
colors: {
  custom: {
    50: '#c679dc',
    500: '#a837cc',
    950: '#000000',
  },
}
SCSS
$custom: #a837cc;
$custom-light: #c679dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a837cc",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 285.503,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.22695,
    "h": 316.6
  },
  "luminance": 0.15417
}

Semantic roles & 50–950 ramp

primary
#A837CC
secondary
#9ED08E
accent
#E3456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837CC

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

Preview Lab → · Contrast checker → · Palette generator →

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