#8937C3#8937C3

#8937C3 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.9% C 0.209 H 307.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8937C3
RGBrgb(137, 55, 195)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 76%)
CMYKcmyk(29.7%, 71.8%, 0%, 23.5%)
CIE-LABlab(41.20, 58.24, -58.50)
CIE-LCHlch(41.20, 82.55, 314.87°)
OKLaboklab(51.9% 0.1264 -0.166)
OKLCHoklch(51.9% 0.209 307.3)
XYZxyz(21.5310, 11.9911, 52.7994)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937C3 #71C337
analogous
#4337C3 #8937C3 #C337B7
triadic
#8937C3 #C38937 #37C389
tetradic
#8937C3 #C34337 #71C337 #37B7C3
square
#8937C3 #C34337 #71C337 #37B7C3
split-complementary
#8937C3 #B7C337 #37C343
monochromatic
#461C64 #672A93 #8937C3 #A564D3 #C194E1

Accessibility & contrast

On white

6.18
#8937C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8937C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937C3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937C3#FFFFFF#000000##FFFFFF
##8937C31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#0162C0
Tritanopia (blue-blind)
#7F587A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8937c3;
/* rgb */ color: rgb(137, 55, 195);
/* oklch */ color: oklch(51.9% 0.209 307.3);
Tailwind
colors: {
  custom: {
    50: '#b075d6',
    500: '#8937c3',
    950: '#000000',
  },
}
SCSS
$custom: #8937c3;
$custom-light: #b075d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8937c3",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 275.143,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51904,
    "c": 0.2087,
    "h": 307.3
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#8937C3
secondary
#A5CC8A
accent
#DF4987
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8937C3

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

Preview Lab → · Contrast checker → · Palette generator →

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