#A837D3#A837D3

#A837D3 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.233 H 314.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A837D3
RGBrgb(168, 55, 211)
HSLhsl(283, 64%, 52%)
HSVhsv(283, 74%, 83%)
CMYKcmyk(20.4%, 73.9%, 0%, 17.3%)
CIE-LABlab(46.66, 67.57, -58.72)
CIE-LCHlch(46.66, 89.52, 319.00°)
OKLaboklab(57.02% 0.1639 -0.1657)
OKLCHoklch(57.02% 0.233 314.7)
XYZxyz(29.2706, 15.7614, 63.1158)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837D3 #62D337
analogous
#5A37D3 #A837D3 #D337B0
triadic
#A837D3 #D3A837 #37D3A8
tetradic
#A837D3 #D35A37 #62D337 #37B0D3
square
#A837D3 #D35A37 #62D337 #37B0D3
split-complementary
#A837D3 #B0D337 #37D35A
monochromatic
#5C1A76 #8425A8 #A837D3 #BE69DE #D49BE9

Accessibility & contrast

On white

5.06
#A837D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A837D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837D3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837D3#FFFFFF#000000##FFFFFF
##A837D31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#2F71D0
Tritanopia (blue-blind)
#A45983
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a837d3;
/* rgb */ color: rgb(168, 55, 211);
/* oklch */ color: oklch(57.0% 0.233 314.7);
Tailwind
colors: {
  custom: {
    50: '#c679e1',
    500: '#a837d3',
    950: '#000000',
  },
}
SCSS
$custom: #a837d3;
$custom-light: #c679e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a837d3",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 283.462,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.23308,
    "h": 314.7
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#A837D3
secondary
#A4D591
accent
#E7416F
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A837D3

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

Preview Lab → · Contrast checker → · Palette generator →

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