#8837A2#8837A2

#8837A2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.5% C 0.176 H 316.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8837A2
RGBrgb(136, 55, 162)
HSLhsl(285, 49%, 43%)
HSVhsv(285, 66%, 64%)
CMYKcmyk(16%, 66%, 0%, 36.5%)
CIE-LABlab(38.86, 50.89, -42.77)
CIE-LCHlch(38.86, 66.48, 319.96°)
OKLaboklab(49.5% 0.1284 -0.1199)
OKLCHoklch(49.5% 0.176 316.9)
XYZxyz(18.0402, 10.5760, 35.2665)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837A2 #51A237
analogous
#5337A2 #8837A2 #A23786
triadic
#8837A2 #A28837 #37A288
tetradic
#8837A2 #A25337 #51A237 #3786A2
square
#8837A2 #A25337 #51A237 #3786A2
split-complementary
#8837A2 #86A237 #37A253
monochromatic
#3B1847 #622774 #8837A2 #A852C4 #BF80D4

Accessibility & contrast

On white

6.74
#8837A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8837A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837A2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837A2#FFFFFF#000000##FFFFFF
##8837A21.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C56A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#874B68
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8837a2;
/* rgb */ color: rgb(136, 55, 162);
/* oklch */ color: oklch(49.5% 0.176 316.9);
Tailwind
colors: {
  custom: {
    50: '#ae74be',
    500: '#8837a2',
    950: '#000000',
  },
}
SCSS
$custom: #8837a2;
$custom-light: #ae74be;
$custom-dark: #000000;
JSON
{
  "hex": "#8837a2",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 285.421,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.49496,
    "c": 0.17565,
    "h": 316.9
  },
  "luminance": 0.10575
}

Semantic roles & 50–950 ramp

primary
#8837A2
secondary
#89BD78
accent
#D94F70
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8837A2

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

Preview Lab → · Contrast checker → · Palette generator →

#8837A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva