#A837D0#A837D0

#A837D0 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.230 H 315.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A837D0
RGBrgb(168, 55, 208)
HSLhsl(284, 62%, 52%)
HSVhsv(284, 74%, 82%)
CMYKcmyk(19.2%, 73.6%, 0%, 18.4%)
CIE-LABlab(46.46, 66.98, -57.32)
CIE-LCHlch(46.46, 88.16, 319.44°)
OKLaboklab(56.82% 0.1643 -0.1615)
OKLCHoklch(56.82% 0.23 315.5)
XYZxyz(28.8980, 15.6124, 61.1535)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837D0 #5FD037
analogous
#5C37D0 #A837D0 #D037AB
triadic
#A837D0 #D0A837 #37D0A8
tetradic
#A837D0 #D05C37 #5FD037 #37ABD0
square
#A837D0 #D05C37 #5FD037 #37ABD0
split-complementary
#A837D0 #ABD037 #37D05C
monochromatic
#5B1B72 #8326A3 #A837D0 #BE69DC #D39AE7

Accessibility & contrast

On white

5.09
#A837D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A837D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837D0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837D0#FFFFFF#000000##FFFFFF
##A837D01.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#A55881
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a837d0;
/* rgb */ color: rgb(168, 55, 208);
/* oklch */ color: oklch(56.8% 0.230 315.5);
Tailwind
colors: {
  custom: {
    50: '#c679df',
    500: '#a837d0',
    950: '#000000',
  },
}
SCSS
$custom: #a837d0;
$custom-light: #c679df;
$custom-dark: #000000;
JSON
{
  "hex": "#a837d0",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 284.314,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.23044,
    "h": 315.5
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#A837D0
secondary
#A1D390
accent
#E5436D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #A837D0

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

Preview Lab → · Contrast checker → · Palette generator →

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