#8837C7#8837C7

#8837C7 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.212 H 305.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8837C7
RGBrgb(136, 55, 199)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 72%, 78%)
CMYKcmyk(31.7%, 72.4%, 0%, 22%)
CIE-LABlab(41.36, 58.95, -60.58)
CIE-LCHlch(41.36, 84.53, 314.21°)
OKLaboklab(52.08% 0.1244 -0.1722)
OKLCHoklch(52.08% 0.212 305.8)
XYZxyz(21.8261, 12.0903, 55.2056)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837C7 #76C737
analogous
#4037C7 #8837C7 #C737BE
triadic
#8837C7 #C78837 #37C788
tetradic
#8837C7 #C74037 #76C737 #37BEC7
square
#8837C7 #C74037 #76C737 #37BEC7
split-complementary
#8837C7 #BEC737 #37C740
monochromatic
#461C67 #672A97 #8837C7 #A566D5 #C196E2

Accessibility & contrast

On white

6.14
#8837C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8837C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837C7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837C7#FFFFFF#000000##FFFFFF
##8837C71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#7D597C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8837c7;
/* rgb */ color: rgb(136, 55, 199);
/* oklch */ color: oklch(52.1% 0.212 305.8);
Tailwind
colors: {
  custom: {
    50: '#b075d9',
    500: '#8837c7',
    950: '#000000',
  },
}
SCSS
$custom: #8837c7;
$custom-light: #b075d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8837c7",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 273.75,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.21244,
    "h": 305.8
  },
  "luminance": 0.1209
}

Semantic roles & 50–950 ramp

primary
#8837C7
secondary
#A9CD8C
accent
#E0488A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8837C7

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

Preview Lab → · Contrast checker → · Palette generator →

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