#8939CC#8939CC

#8939CC is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.215 H 304.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8939CC
RGBrgb(137, 57, 204)
HSLhsl(273, 59%, 51%)
HSVhsv(273, 72%, 80%)
CMYKcmyk(32.8%, 72.1%, 0%, 20%)
CIE-LABlab(42.16, 59.42, -62.18)
CIE-LCHlch(42.16, 86.00, 313.70°)
OKLaboklab(52.79% 0.123 -0.1769)
OKLCHoklch(52.79% 0.215 304.8)
XYZxyz(22.6763, 12.6044, 58.3533)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939CC #7CCC39
analogous
#3F39CC #8939CC #CC39C5
triadic
#8939CC #CC8939 #39CC89
tetradic
#8939CC #CC3F39 #7CCC39 #39C5CC
square
#8939CC #CC3F39 #7CCC39 #39C5CC
split-complementary
#8939CC #C5CC39 #39CC3F
monochromatic
#491C6E #69299F #8939CC #A66AD9 #C39AE5

Accessibility & contrast

On white

5.96
#8939CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8939CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939CC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939CC#FFFFFF#000000##FFFFFF
##8939CC1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8939cc;
/* rgb */ color: rgb(137, 57, 204);
/* oklch */ color: oklch(52.8% 0.215 304.8);
Tailwind
colors: {
  custom: {
    50: '#b176dc',
    500: '#8939cc',
    950: '#000000',
  },
}
SCSS
$custom: #8939cc;
$custom-light: #b176dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8939cc",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 272.653,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.21541,
    "h": 304.8
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#8939CC
secondary
#AED190
accent
#E2468D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939CC

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

Preview Lab → · Contrast checker → · Palette generator →

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