#8939CA#8939CA

#8939CA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.213 H 305.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8939CA
RGBrgb(137, 57, 202)
HSLhsl(273, 58%, 51%)
HSVhsv(273, 72%, 79%)
CMYKcmyk(32.2%, 71.8%, 0%, 20.8%)
CIE-LABlab(42.01, 58.96, -61.26)
CIE-LCHlch(42.01, 85.02, 313.90°)
OKLaboklab(52.64% 0.1233 -0.1742)
OKLCHoklch(52.64% 0.213 305.3)
XYZxyz(22.4379, 12.5090, 57.0981)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939CA #7ACA39
analogous
#4039CA #8939CA #CA39C3
triadic
#8939CA #CA8939 #39CA89
tetradic
#8939CA #CA4039 #7ACA39 #39C3CA
square
#8939CA #CA4039 #7ACA39 #39C3CA
split-complementary
#8939CA #C3CA39 #39CA40
monochromatic
#481D6C #692A9C #8939CA #A669D7 #C39AE4

Accessibility & contrast

On white

6.00
#8939CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8939CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939CA#FFFFFF#000000##FFFFFF
##8939CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#7D5B7E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8939ca;
/* rgb */ color: rgb(137, 57, 202);
/* oklch */ color: oklch(52.6% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#b176db',
    500: '#8939ca',
    950: '#000000',
  },
}
SCSS
$custom: #8939ca;
$custom-light: #b176db;
$custom-dark: #000000;
JSON
{
  "hex": "#8939ca",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 273.103,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.21339,
    "h": 305.3
  },
  "luminance": 0.12509
}

Semantic roles & 50–950 ramp

primary
#8939CA
secondary
#ACD08F
accent
#E1478C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8939CA

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

Preview Lab → · Contrast checker → · Palette generator →

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