#8837CC#8837CC

#8837CC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.217 H 304.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8837CC
RGBrgb(136, 55, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(33.3%, 73%, 0%, 20%)
CIE-LABlab(41.73, 60.08, -62.88)
CIE-LCHlch(41.73, 86.97, 313.69°)
OKLaboklab(52.46% 0.1235 -0.179)
OKLCHoklch(52.46% 0.217 304.6)
XYZxyz(22.4161, 12.3264, 58.3133)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8837CC #7BCC37
analogous
#3D37CC #8837CC #CC37C6
triadic
#8837CC #CC8837 #37CC88
tetradic
#8837CC #CC3D37 #7BCC37 #37C6CC
square
#8837CC #CC3D37 #7BCC37 #37C6CC
split-complementary
#8837CC #C6CC37 #37CC3D
monochromatic
#481C6D #68289E #8837CC #A568D8 #C299E5

Accessibility & contrast

On white

6.06
#8837CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8837CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8837CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8837CC#FFFFFF#000000##FFFFFF
##8837CC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#7B5B7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8837cc;
/* rgb */ color: rgb(136, 55, 204);
/* oklch */ color: oklch(52.5% 0.217 304.6);
Tailwind
colors: {
  custom: {
    50: '#b075dc',
    500: '#8837cc',
    950: '#000000',
  },
}
SCSS
$custom: #8837cc;
$custom-light: #b075dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8837cc",
  "rgb": {
    "r": 136,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 272.617,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.21744,
    "h": 304.6
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#8837CC
secondary
#ADD08E
accent
#E3458D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8837CC

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

Preview Lab → · Contrast checker → · Palette generator →

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