#8837AC#8837AC

#8837AC is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.186 H 313.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8837AC
RGBrgb(136, 55, 172)
HSLhsl(282, 52%, 45%)
HSVhsv(282, 68%, 67%)
CMYKcmyk(20.9%, 68%, 0%, 32.5%)
CIE-LABlab(39.49, 52.99, -47.73)
CIE-LCHlch(39.49, 71.32, 317.99°)
OKLaboklab(50.15% 0.1278 -0.1344)
OKLCHoklch(50.15% 0.186 313.6)
XYZxyz(18.9646, 10.9458, 40.1355)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837AC #5BAC37
analogous
#4D37AC #8837AC #AC3796
triadic
#8837AC #AC8837 #37AC88
tetradic
#8837AC #AC4D37 #5BAC37 #3796AC
square
#8837AC #AC4D37 #5BAC37 #3796AC
split-complementary
#8837AC #96AC37 #37AC4D
monochromatic
#3F194F #63287E #8837AC #A657C9 #BF85D8

Accessibility & contrast

On white

6.59
#8837AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8837AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837AC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837AC#FFFFFF#000000##FFFFFF
##8837AC1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#844E6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8837ac;
/* rgb */ color: rgb(136, 55, 172);
/* oklch */ color: oklch(50.2% 0.186 313.6);
Tailwind
colors: {
  custom: {
    50: '#ae74c5',
    500: '#8837ac',
    950: '#000000',
  },
}
SCSS
$custom: #8837ac;
$custom-light: #ae74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8837ac",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 281.538,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50153,
    "c": 0.18552,
    "h": 313.6
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#8837AC
secondary
#92C27D
accent
#DB4D79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8837AC

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

Preview Lab → · Contrast checker → · Palette generator →

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