#A837BC#A837BC

#A837BC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.5% C 0.213 H 321.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A837BC
RGBrgb(168, 55, 188)
HSLhsl(291, 55%, 48%)
HSVhsv(291, 71%, 74%)
CMYKcmyk(10.6%, 70.7%, 0%, 26.3%)
CIE-LABlab(45.21, 63.20, -47.74)
CIE-LCHlch(45.21, 79.20, 322.93°)
OKLaboklab(55.53% 0.1661 -0.1335)
OKLCHoklch(55.53% 0.213 321.2)
XYZxyz(26.5907, 14.6895, 49.0019)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837BC #4BBC37
analogous
#6537BC #A837BC #BC378E
triadic
#A837BC #BCA837 #37BCA8
tetradic
#A837BC #BC6537 #4BBC37 #378EBC
square
#A837BC #BC6537 #4BBC37 #378EBC
split-complementary
#A837BC #8EBC37 #37BC65
monochromatic
#531B5D #7E298D #A837BC #BF60D0 #D28FDE

Accessibility & contrast

On white

5.33
#A837BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A837BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837BC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837BC#FFFFFF#000000##FFFFFF
##A837BC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#A94F76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a837bc;
/* rgb */ color: rgb(168, 55, 188);
/* oklch */ color: oklch(55.5% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c678d1',
    500: '#a837bc',
    950: '#000000',
  },
}
SCSS
$custom: #a837bc;
$custom-light: #c678d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a837bc",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 290.977,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55526,
    "c": 0.21311,
    "h": 321.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#A837BC
secondary
#90C986
accent
#DE4A60
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A837BC

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

Preview Lab → · Contrast checker → · Palette generator →

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