#A837C8#A837C8

#A837C8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.223 H 317.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A837C8
RGBrgb(168, 55, 200)
HSLhsl(287, 57%, 50%)
HSVhsv(287, 73%, 78%)
CMYKcmyk(16%, 72.5%, 0%, 21.6%)
CIE-LABlab(45.95, 65.44, -53.53)
CIE-LCHlch(45.95, 84.55, 320.72°)
OKLaboklab(56.29% 0.1652 -0.1504)
OKLCHoklch(56.29% 0.223 317.7)
XYZxyz(27.9385, 15.2286, 56.1001)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837C8 #57C837
analogous
#6037C8 #A837C8 #C8379F
triadic
#A837C8 #C8A837 #37C8A8
tetradic
#A837C8 #C86037 #57C837 #379FC8
square
#A837C8 #C86037 #57C837 #379FC8
split-complementary
#A837C8 #9FC837 #37C860
monochromatic
#571D68 #802A98 #A837C8 #BD67D5 #D297E2

Accessibility & contrast

On white

5.19
#A837C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A837C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837C8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837C8#FFFFFF#000000##FFFFFF
##A837C81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#3C70C5
Tritanopia (blue-blind)
#A7557D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a837c8;
/* rgb */ color: rgb(168, 55, 200);
/* oklch */ color: oklch(56.3% 0.223 317.7);
Tailwind
colors: {
  custom: {
    50: '#c679d9',
    500: '#a837c8',
    950: '#000000',
  },
}
SCSS
$custom: #a837c8;
$custom-light: #c679d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a837c8",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 286.759,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.22346,
    "h": 317.7
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#A837C8
secondary
#9BCE8D
accent
#E04869
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837C8

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

Preview Lab → · Contrast checker → · Palette generator →

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