#8939CE#8939CE

#8939CE is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.217 H 304.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8939CE
RGBrgb(137, 57, 206)
HSLhsl(272, 60%, 52%)
HSVhsv(272, 72%, 81%)
CMYKcmyk(33.5%, 72.3%, 0%, 19.2%)
CIE-LABlab(42.31, 59.87, -63.09)
CIE-LCHlch(42.31, 86.98, 313.50°)
OKLaboklab(52.94% 0.1226 -0.1795)
OKLCHoklch(52.94% 0.217 304.3)
XYZxyz(22.9177, 12.7009, 59.6247)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939CE #7ECE39
analogous
#3F39CE #8939CE #CE39C8
triadic
#8939CE #CE8939 #39CE89
tetradic
#8939CE #CE3F39 #7ECE39 #39C8CE
square
#8939CE #CE3F39 #7ECE39 #39C8CE
split-complementary
#8939CE #C8CE39 #39CE3F
monochromatic
#491C71 #6928A2 #8939CE #A66ADA #C39BE6

Accessibility & contrast

On white

5.93
#8939CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8939CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939CE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939CE#FFFFFF#000000##FFFFFF
##8939CE1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#7C5D80
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8939ce;
/* rgb */ color: rgb(137, 57, 206);
/* oklch */ color: oklch(52.9% 0.217 304.3);
Tailwind
colors: {
  custom: {
    50: '#b177de',
    500: '#8939ce',
    950: '#000000',
  },
}
SCSS
$custom: #8939ce;
$custom-light: #b177de;
$custom-dark: #000000;
JSON
{
  "hex": "#8939ce",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 206
  },
  "hsl": {
    "h": 272.215,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.21742,
    "h": 304.3
  },
  "luminance": 0.12701
}

Semantic roles & 50–950 ramp

primary
#8939CE
secondary
#AFD291
accent
#E3448E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939CE

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

Preview Lab → · Contrast checker → · Palette generator →

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