#8937C1#8937C1

#8937C1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.207 H 307.8°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8937C1
RGBrgb(137, 55, 193)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 72%, 76%)
CMYKcmyk(29%, 71.5%, 0%, 24.3%)
CIE-LABlab(41.06, 57.79, -57.57)
CIE-LCHlch(41.06, 81.57, 315.11°)
OKLaboklab(51.76% 0.1267 -0.1633)
OKLCHoklch(51.76% 0.207 307.8)
XYZxyz(21.3063, 11.9013, 51.6165)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937C1 #6FC137
analogous
#4437C1 #8937C1 #C137B4
triadic
#8937C1 #C18937 #37C189
tetradic
#8937C1 #C14437 #6FC137 #37B4C1
square
#8937C1 #C14437 #6FC137 #37B4C1
split-complementary
#8937C1 #B4C137 #37C144
monochromatic
#451C62 #672991 #8937C1 #A563D2 #C192E0

Accessibility & contrast

On white

6.21
#8937C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8937C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937C1
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937C1#FFFFFF#000000##FFFFFF
##8937C11.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#805779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8937c1;
/* rgb */ color: rgb(137, 55, 193);
/* oklch */ color: oklch(51.8% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#b075d5',
    500: '#8937c1',
    950: '#000000',
  },
}
SCSS
$custom: #8937c1;
$custom-light: #b075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8937c1",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 193
  },
  "hsl": {
    "h": 275.652,
    "s": 55.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51757,
    "c": 0.20671,
    "h": 307.8
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#8937C1
secondary
#A4CB89
accent
#DF4986
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8937C1

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

Preview Lab → · Contrast checker → · Palette generator →

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