#A837CF#A837CF

#A837CF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.230 H 315.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A837CF
RGBrgb(168, 55, 207)
HSLhsl(285, 61%, 51%)
HSVhsv(285, 73%, 81%)
CMYKcmyk(18.8%, 73.4%, 0%, 18.8%)
CIE-LABlab(46.40, 66.79, -56.85)
CIE-LCHlch(46.40, 87.71, 319.59°)
OKLaboklab(56.75% 0.1645 -0.1602)
OKLCHoklch(56.75% 0.23 315.8)
XYZxyz(28.7753, 15.5633, 60.5076)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837CF #5ECF37
analogous
#5C37CF #A837CF #CF37AA
triadic
#A837CF #CFA837 #37CFA8
tetradic
#A837CF #CF5C37 #5ECF37 #37AACF
square
#A837CF #CF5C37 #5ECF37 #37AACF
split-complementary
#A837CF #AACF37 #37CF5C
monochromatic
#5B1B71 #8227A2 #A837CF #BD68DB #D39AE7

Accessibility & contrast

On white

5.11
#A837CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A837CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837CF#FFFFFF#000000##FFFFFF
##A837CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#A55881
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a837cf;
/* rgb */ color: rgb(168, 55, 207);
/* oklch */ color: oklch(56.8% 0.230 315.8);
Tailwind
colors: {
  custom: {
    50: '#c679de',
    500: '#a837cf',
    950: '#000000',
  },
}
SCSS
$custom: #a837cf;
$custom-light: #c679de;
$custom-dark: #000000;
JSON
{
  "hex": "#a837cf",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 207
  },
  "hsl": {
    "h": 284.605,
    "s": 61.29,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.22957,
    "h": 315.8
  },
  "luminance": 0.15562
}

Semantic roles & 50–950 ramp

primary
#A837CF
secondary
#A1D28F
accent
#E4436D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837CF

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

Preview Lab → · Contrast checker → · Palette generator →

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