#8939CB#8939CB

#8939CB is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.214 H 305.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8939CB
RGBrgb(137, 57, 203)
HSLhsl(273, 58%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(32.5%, 71.9%, 0%, 20.4%)
CIE-LABlab(42.09, 59.19, -61.72)
CIE-LCHlch(42.09, 85.51, 313.80°)
OKLaboklab(52.72% 0.1231 -0.1755)
OKLCHoklch(52.72% 0.214 305.1)
XYZxyz(22.5567, 12.5566, 57.7237)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939CB #7BCB39
analogous
#4039CB #8939CB #CB39C4
triadic
#8939CB #CB8939 #39CB89
tetradic
#8939CB #CB4039 #7BCB39 #39C4CB
square
#8939CB #CB4039 #7BCB39 #39C4CB
split-complementary
#8939CB #C4CB39 #39CB40
monochromatic
#491D6D #69299D #8939CB #A669D8 #C39AE4

Accessibility & contrast

On white

5.98
#8939CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8939CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939CB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939CB#FFFFFF#000000##FFFFFF
##8939CB1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8939cb;
/* rgb */ color: rgb(137, 57, 203);
/* oklch */ color: oklch(52.7% 0.214 305.1);
Tailwind
colors: {
  custom: {
    50: '#b176dc',
    500: '#8939cb',
    950: '#000000',
  },
}
SCSS
$custom: #8939cb;
$custom-light: #b176dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8939cb",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 272.877,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52715,
    "c": 0.2144,
    "h": 305.1
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#8939CB
secondary
#ADD090
accent
#E2468C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939CB

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

Preview Lab → · Contrast checker → · Palette generator →

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