#A837CA#A837CA

#A837CA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.225 H 317.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A837CA
RGBrgb(168, 55, 202)
HSLhsl(286, 58%, 50%)
HSVhsv(286, 73%, 79%)
CMYKcmyk(16.8%, 72.8%, 0%, 20.8%)
CIE-LABlab(46.07, 65.82, -54.49)
CIE-LCHlch(46.07, 85.45, 320.38°)
OKLaboklab(56.42% 0.165 -0.1532)
OKLCHoklch(56.42% 0.225 317.1)
XYZxyz(28.1737, 15.3227, 57.3392)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837CA #59CA37
analogous
#5E37CA #A837CA #CA37A3
triadic
#A837CA #CAA837 #37CAA8
tetradic
#A837CA #CA5E37 #59CA37 #37A3CA
square
#A837CA #CA5E37 #59CA37 #37A3CA
split-complementary
#A837CA #A3CA37 #37CA5E
monochromatic
#581C6A #80299B #A837CA #BD67D7 #D298E4

Accessibility & contrast

On white

5.17
#A837CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A837CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837CA#FFFFFF#000000##FFFFFF
##A837CA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#3A70C7
Tritanopia (blue-blind)
#A6567E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a837ca;
/* rgb */ color: rgb(168, 55, 202);
/* oklch */ color: oklch(56.4% 0.225 317.1);
Tailwind
colors: {
  custom: {
    50: '#c679db',
    500: '#a837ca',
    950: '#000000',
  },
}
SCSS
$custom: #a837ca;
$custom-light: #c679db;
$custom-dark: #000000;
JSON
{
  "hex": "#a837ca",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 286.122,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.22521,
    "h": 317.1
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#A837CA
secondary
#9DCF8E
accent
#E1466A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A837CA

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

Preview Lab → · Contrast checker → · Palette generator →

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