#8937CC#8937CC

#8937CC is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.218 H 305.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#8937CC
RGBrgb(137, 55, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(32.8%, 73%, 0%, 20%)
CIE-LABlab(41.86, 60.26, -62.66)
CIE-LCHlch(41.86, 86.94, 313.88°)
OKLaboklab(52.58% 0.1249 -0.1783)
OKLCHoklch(52.58% 0.218 305)
XYZxyz(22.5793, 12.4105, 58.3210)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937CC #7ACC37
analogous
#3E37CC #8937CC #CC37C5
triadic
#8937CC #CC8937 #37CC89
tetradic
#8937CC #CC3E37 #7ACC37 #37C5CC
square
#8937CC #CC3E37 #7ACC37 #37C5CC
split-complementary
#8937CC #C5CC37 #37CC3E
monochromatic
#481C6D #69289E #8937CC #A668D8 #C399E5

Accessibility & contrast

On white

6.03
#8937CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8937CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937CC
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937CC#FFFFFF#000000##FFFFFF
##8937CC1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7C5B7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8937cc;
/* rgb */ color: rgb(137, 55, 204);
/* oklch */ color: oklch(52.6% 0.218 305.0);
Tailwind
colors: {
  custom: {
    50: '#b175dc',
    500: '#8937cc',
    950: '#000000',
  },
}
SCSS
$custom: #8937cc;
$custom-light: #b175dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8937cc",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 273.02,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.21766,
    "h": 305
  },
  "luminance": 0.1241
}

Semantic roles & 50–950 ramp

primary
#8937CC
secondary
#ACD08E
accent
#E3458C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8937CC

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

Preview Lab → · Contrast checker → · Palette generator →

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