#8837C6#8837C6

#8837C6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.211 H 306.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8837C6
RGBrgb(136, 55, 198)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 72%, 78%)
CMYKcmyk(31.3%, 72.2%, 0%, 22.4%)
CIE-LABlab(41.29, 58.72, -60.12)
CIE-LCHlch(41.29, 84.04, 314.32°)
OKLaboklab(52% 0.1246 -0.1708)
OKLCHoklch(52% 0.211 306.1)
XYZxyz(21.7103, 12.0440, 54.5961)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837C6 #75C637
analogous
#4037C6 #8837C6 #C637BD
triadic
#8837C6 #C68837 #37C688
tetradic
#8837C6 #C64037 #75C637 #37BDC6
square
#8837C6 #C64037 #75C637 #37BDC6
split-complementary
#8837C6 #BDC637 #37C640
monochromatic
#461C66 #672A96 #8837C6 #A466D4 #C196E2

Accessibility & contrast

On white

6.16
#8837C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8837C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837C6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837C6#FFFFFF#000000##FFFFFF
##8837C61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#7D597B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8837c6;
/* rgb */ color: rgb(136, 55, 198);
/* oklch */ color: oklch(52.0% 0.211 306.1);
Tailwind
colors: {
  custom: {
    50: '#b075d8',
    500: '#8837c6',
    950: '#000000',
  },
}
SCSS
$custom: #8837c6;
$custom-light: #b075d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8837c6",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 273.986,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.21144,
    "h": 306.1
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#8837C6
secondary
#A8CD8C
accent
#E0488A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8837C6

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

Preview Lab → · Contrast checker → · Palette generator →

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