#A837CE#A837CE

#A837CE is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.229 H 316.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A837CE
RGBrgb(168, 55, 206)
HSLhsl(285, 61%, 51%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(18.4%, 73.3%, 0%, 19.2%)
CIE-LABlab(46.33, 66.59, -56.38)
CIE-LCHlch(46.33, 87.25, 319.75°)
OKLaboklab(56.69% 0.1646 -0.1588)
OKLCHoklch(56.69% 0.229 316)
XYZxyz(28.6535, 15.5146, 59.8658)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837CE #5DCE37
analogous
#5C37CE #A837CE #CE37A8
triadic
#A837CE #CEA837 #37CEA8
tetradic
#A837CE #CE5C37 #5DCE37 #37A8CE
square
#A837CE #CE5C37 #5DCE37 #37A8CE
split-complementary
#A837CE #A8CE37 #37CE5C
monochromatic
#5A1B6F #8227A0 #A837CE #BD68DA #D399E6

Accessibility & contrast

On white

5.12
#A837CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A837CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837CE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837CE#FFFFFF#000000##FFFFFF
##A837CE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#A55780
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a837ce;
/* rgb */ color: rgb(168, 55, 206);
/* oklch */ color: oklch(56.7% 0.229 316.0);
Tailwind
colors: {
  custom: {
    50: '#c679de',
    500: '#a837ce',
    950: '#000000',
  },
}
SCSS
$custom: #a837ce;
$custom-light: #c679de;
$custom-dark: #000000;
JSON
{
  "hex": "#a837ce",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 206
  },
  "hsl": {
    "h": 284.901,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.22869,
    "h": 316
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#A837CE
secondary
#A0D28F
accent
#E4446C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837CE

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

Preview Lab → · Contrast checker → · Palette generator →

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