#A837BB#A837BB

#A837BB is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.5% C 0.212 H 321.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A837BB
RGBrgb(168, 55, 187)
HSLhsl(291, 55%, 47%)
HSVhsv(291, 71%, 73%)
CMYKcmyk(10.2%, 70.6%, 0%, 26.7%)
CIE-LABlab(45.15, 63.01, -47.25)
CIE-LCHlch(45.15, 78.76, 323.14°)
OKLaboklab(55.46% 0.1662 -0.1321)
OKLCHoklch(55.46% 0.212 321.5)
XYZxyz(26.4833, 14.6465, 48.4362)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837BB #4ABB37
analogous
#6637BB #A837BB #BB378C
triadic
#A837BB #BBA837 #37BBA8
tetradic
#A837BB #BB6637 #4ABB37 #378CBB
square
#A837BB #BB6637 #4ABB37 #378CBB
split-complementary
#A837BB #8CBB37 #37BB66
monochromatic
#531B5C #7E298C #A837BB #C05FD0 #D28EDE

Accessibility & contrast

On white

5.34
#A837BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A837BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837BB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837BB#FFFFFF#000000##FFFFFF
##A837BB1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#AA4F75
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a837bb;
/* rgb */ color: rgb(168, 55, 187);
/* oklch */ color: oklch(55.5% 0.212 321.5);
Tailwind
colors: {
  custom: {
    50: '#c678d0',
    500: '#a837bb',
    950: '#000000',
  },
}
SCSS
$custom: #a837bb;
$custom-light: #c678d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a837bb",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 291.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.21226,
    "h": 321.5
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#A837BB
secondary
#8FC985
accent
#DE4A5F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A837BB

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

Preview Lab → · Contrast checker → · Palette generator →

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