#8937C9#8937C9

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

Color values

HEX#8937C9
RGBrgb(137, 55, 201)
HSLhsl(274, 57%, 50%)
HSVhsv(274, 73%, 79%)
CMYKcmyk(31.8%, 72.6%, 0%, 21.2%)
CIE-LABlab(41.64, 59.59, -61.29)
CIE-LCHlch(41.64, 85.48, 314.19°)
OKLaboklab(52.35% 0.1254 -0.1742)
OKLCHoklch(52.35% 0.215 305.7)
XYZxyz(22.2230, 12.2680, 56.4442)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937C9 #77C937
analogous
#4037C9 #8937C9 #C937C0
triadic
#8937C9 #C98937 #37C989
tetradic
#8937C9 #C94037 #77C937 #37C0C9
square
#8937C9 #C94037 #77C937 #37C0C9
split-complementary
#8937C9 #C0C937 #37C940
monochromatic
#481C69 #682999 #8937C9 #A567D6 #C297E3

Accessibility & contrast

On white

6.08
#8937C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8937C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937C9
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937C9#FFFFFF#000000##FFFFFF
##8937C91.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)
#0060CD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#7D5A7D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8937c9;
/* rgb */ color: rgb(137, 55, 201);
/* oklch */ color: oklch(52.4% 0.215 305.7);
Tailwind
colors: {
  custom: {
    50: '#b175da',
    500: '#8937c9',
    950: '#000000',
  },
}
SCSS
$custom: #8937c9;
$custom-light: #b175da;
$custom-dark: #000000;
JSON
{
  "hex": "#8937c9",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 201
  },
  "hsl": {
    "h": 273.699,
    "s": 57.48,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.21467,
    "h": 305.7
  },
  "luminance": 0.12268
}

Semantic roles & 50–950 ramp

primary
#8937C9
secondary
#AACF8D
accent
#E1478A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8937C9

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

Preview Lab → · Contrast checker → · Palette generator →

#8937C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva