#8936CC#8936CC

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

Color values

HEX#8936CC
RGBrgb(137, 54, 204)
HSLhsl(273, 60%, 51%)
HSVhsv(273, 74%, 80%)
CMYKcmyk(32.8%, 73.5%, 0%, 20%)
CIE-LABlab(41.71, 60.68, -62.90)
CIE-LCHlch(41.71, 87.40, 313.97°)
OKLaboklab(52.47% 0.1258 -0.179)
OKLCHoklch(52.47% 0.219 305.1)
XYZxyz(22.5323, 12.3165, 58.3053)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8936CC #79CC36
analogous
#3E36CC #8936CC #CC36C4
triadic
#8936CC #CC8936 #36CC89
tetradic
#8936CC #CC3E36 #79CC36 #36C4CC
square
#8936CC #CC3E36 #79CC36 #36C4CC
split-complementary
#8936CC #C4CC36 #36CC3E
monochromatic
#481B6C #69289D #8936CC #A667D8 #C298E5

Accessibility & contrast

On white

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

On black

3.46
#8936CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8936CC#FFFFFF#000000##FFFFFF
##8936CC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8936cc;
/* rgb */ color: rgb(137, 54, 204);
/* oklch */ color: oklch(52.5% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#b175dc',
    500: '#8936cc',
    950: '#000000',
  },
}
SCSS
$custom: #8936cc;
$custom-light: #b175dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8936cc",
  "rgb": {
    "r": 137,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 273.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52474,
    "c": 0.21875,
    "h": 305.1
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#8936CC
secondary
#ABD08E
accent
#E3458B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8936CC

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

Preview Lab → · Contrast checker → · Palette generator →

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