#A837CD#A837CD

#A837CD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.228 H 316.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A837CD
RGBrgb(168, 55, 205)
HSLhsl(285, 60%, 51%)
HSVhsv(285, 73%, 80%)
CMYKcmyk(18%, 73.2%, 0%, 19.6%)
CIE-LABlab(46.27, 66.40, -55.91)
CIE-LCHlch(46.27, 86.80, 319.90°)
OKLaboklab(56.62% 0.1647 -0.1574)
OKLCHoklch(56.62% 0.228 316.3)
XYZxyz(28.5324, 15.4661, 59.2281)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837CD #5CCD37
analogous
#5D37CD #A837CD #CD37A7
triadic
#A837CD #CDA837 #37CDA8
tetradic
#A837CD #CD5D37 #5CCD37 #37A7CD
square
#A837CD #CD5D37 #5CCD37 #37A7CD
split-complementary
#A837CD #A7CD37 #37CD5D
monochromatic
#5A1C6E #82289F #A837CD #BD68D9 #D399E5

Accessibility & contrast

On white

5.13
#A837CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A837CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837CD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837CD#FFFFFF#000000##FFFFFF
##A837CD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#A6577F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a837cd;
/* rgb */ color: rgb(168, 55, 205);
/* oklch */ color: oklch(56.6% 0.228 316.3);
Tailwind
colors: {
  custom: {
    50: '#c679dd',
    500: '#a837cd',
    950: '#000000',
  },
}
SCSS
$custom: #a837cd;
$custom-light: #c679dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a837cd",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 205
  },
  "hsl": {
    "h": 285.2,
    "s": 60,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5662,
    "c": 0.22782,
    "h": 316.3
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#A837CD
secondary
#9FD18F
accent
#E3456C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837CD

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

Preview Lab → · Contrast checker → · Palette generator →

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