#8937CB#8937CB

#8937CB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.5% C 0.217 H 305.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8937CB
RGBrgb(137, 55, 203)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(32.5%, 72.9%, 0%, 20.4%)
CIE-LABlab(41.79, 60.04, -62.21)
CIE-LCHlch(41.79, 86.45, 313.98°)
OKLaboklab(52.5% 0.1251 -0.1769)
OKLCHoklch(52.5% 0.217 305.3)
XYZxyz(22.4598, 12.3627, 57.6913)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937CB #79CB37
analogous
#3F37CB #8937CB #CB37C3
triadic
#8937CB #CB8937 #37CB89
tetradic
#8937CB #CB3F37 #79CB37 #37C3CB
square
#8937CB #CB3F37 #79CB37 #37C3CB
split-complementary
#8937CB #C3CB37 #37CB3F
monochromatic
#481C6C #69299C #8937CB #A668D8 #C298E4

Accessibility & contrast

On white

6.05
#8937CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8937CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937CB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937CB#FFFFFF#000000##FFFFFF
##8937CB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#7D5B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8937cb;
/* rgb */ color: rgb(137, 55, 203);
/* oklch */ color: oklch(52.5% 0.217 305.3);
Tailwind
colors: {
  custom: {
    50: '#b175dc',
    500: '#8937cb',
    950: '#000000',
  },
}
SCSS
$custom: #8937cb;
$custom-light: #b175dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8937cb",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 273.243,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.21666,
    "h": 305.3
  },
  "luminance": 0.12363
}

Semantic roles & 50–950 ramp

primary
#8937CB
secondary
#ABD08E
accent
#E2468B
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8937CB

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

Preview Lab → · Contrast checker → · Palette generator →

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