#A837B2#A837B2

#A837B2 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 54.9% C 0.205 H 324.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A837B2
RGBrgb(168, 55, 178)
HSLhsl(295, 53%, 46%)
HSVhsv(295, 69%, 70%)
CMYKcmyk(5.6%, 69.1%, 0%, 30.2%)
CIE-LABlab(44.62, 61.39, -42.80)
CIE-LCHlch(44.62, 74.84, 325.11°)
OKLaboklab(54.92% 0.1664 -0.1191)
OKLCHoklch(54.92% 0.205 324.4)
XYZxyz(25.5499, 14.2731, 43.5201)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A837B2 #41B237
analogous
#6A37B2 #A837B2 #B2377E
triadic
#A837B2 #B2A837 #37B2A8
tetradic
#A837B2 #B26A37 #41B237 #377EB2
square
#A837B2 #B26A37 #41B237 #377EB2
split-complementary
#A837B2 #7EB237 #37B26A
monochromatic
#501A54 #7C2983 #A837B2 #C35ACC #D489DB

Accessibility & contrast

On white

5.45
#A837B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A837B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A837B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A837B2#FFFFFF#000000##FFFFFF
##A837B21.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#4E6EAF
Tritanopia (blue-blind)
#AB4B70
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a837b2;
/* rgb */ color: rgb(168, 55, 178);
/* oklch */ color: oklch(54.9% 0.205 324.4);
Tailwind
colors: {
  custom: {
    50: '#c578c9',
    500: '#a837b2',
    950: '#000000',
  },
}
SCSS
$custom: #a837b2;
$custom-light: #c578c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a837b2",
  "rgb": {
    "r": 168,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 295.122,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5492,
    "c": 0.20463,
    "h": 324.4
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#A837B2
secondary
#86C580
accent
#DC4C57
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A837B2

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

Preview Lab → · Contrast checker → · Palette generator →

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