#8936CB#8936CB

#8936CB is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.218 H 305.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8936CB
RGBrgb(137, 54, 203)
HSLhsl(273, 59%, 50%)
HSVhsv(273, 73%, 80%)
CMYKcmyk(32.5%, 73.4%, 0%, 20.4%)
CIE-LABlab(41.64, 60.46, -62.44)
CIE-LCHlch(41.64, 86.91, 314.07°)
OKLaboklab(52.4% 0.126 -0.1776)
OKLCHoklch(52.4% 0.218 305.3)
XYZxyz(22.4128, 12.2686, 57.6757)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8936CB #78CB36
analogous
#3F36CB #8936CB #CB36C2
triadic
#8936CB #CB8936 #36CB89
tetradic
#8936CB #CB3F36 #78CB36 #36C2CB
square
#8936CB #CB3F36 #78CB36 #36C2CB
split-complementary
#8936CB #C2CB36 #36CB3F
monochromatic
#481C6B #68289C #8936CB #A667D8 #C297E4

Accessibility & contrast

On white

6.08
#8936CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8936CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8936CB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8936CB#FFFFFF#000000##FFFFFF
##8936CB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#7D5A7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8936cb;
/* rgb */ color: rgb(137, 54, 203);
/* oklch */ color: oklch(52.4% 0.218 305.3);
Tailwind
colors: {
  custom: {
    50: '#b175dc',
    500: '#8936cb',
    950: '#000000',
  },
}
SCSS
$custom: #8936cb;
$custom-light: #b175dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8936cb",
  "rgb": {
    "r": 137,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 273.423,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.21777,
    "h": 305.3
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8936CB

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

Preview Lab → · Contrast checker → · Palette generator →

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