#A837C2#A837C2

#A837C2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.218 H 319.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A837C2
RGBrgb(168, 55, 194)
HSLhsl(289, 56%, 49%)
HSVhsv(289, 72%, 76%)
CMYKcmyk(13.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(45.57, 64.31, -50.65)
CIE-LCHlch(45.57, 81.86, 321.77°)
OKLaboklab(55.9% 0.1657 -0.142)
OKLCHoklch(55.9% 0.218 319.4)
XYZxyz(27.2510, 14.9536, 52.4794)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837C2 #51C237
analogous
#6337C2 #A837C2 #C23797
triadic
#A837C2 #C2A837 #37C2A8
tetradic
#A837C2 #C26337 #51C237 #3797C2
square
#A837C2 #C26337 #51C237 #3797C2
split-complementary
#A837C2 #97C237 #37C263
monochromatic
#551C63 #7F2992 #A837C2 #BE63D3 #D293E0

Accessibility & contrast

On white

5.26
#A837C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A837C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837C2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837C2#FFFFFF#000000##FFFFFF
##A837C21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#4270BF
Tritanopia (blue-blind)
#A85279
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a837c2;
/* rgb */ color: rgb(168, 55, 194);
/* oklch */ color: oklch(55.9% 0.218 319.4);
Tailwind
colors: {
  custom: {
    50: '#c678d5',
    500: '#a837c2',
    950: '#000000',
  },
}
SCSS
$custom: #a837c2;
$custom-light: #c678d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a837c2",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 288.777,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.21826,
    "h": 319.4
  },
  "luminance": 0.14952
}

Semantic roles & 50–950 ramp

primary
#A837C2
secondary
#96CB89
accent
#DF4965
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A837C2

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

Preview Lab → · Contrast checker → · Palette generator →

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