#8937C2#8937C2

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

Color values

HEX#8937C2
RGBrgb(137, 55, 194)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 76%)
CMYKcmyk(29.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(41.13, 58.01, -58.04)
CIE-LCHlch(41.13, 82.06, 314.99°)
OKLaboklab(51.83% 0.1266 -0.1647)
OKLCHoklch(51.83% 0.208 307.5)
XYZxyz(21.4183, 11.9461, 52.2060)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937C2 #70C237
analogous
#4437C2 #8937C2 #C237B6
triadic
#8937C2 #C28937 #37C289
tetradic
#8937C2 #C24437 #70C237 #37B6C2
square
#8937C2 #C24437 #70C237 #37B6C2
split-complementary
#8937C2 #B6C237 #37C244
monochromatic
#461C63 #672992 #8937C2 #A563D3 #C193E0

Accessibility & contrast

On white

6.20
#8937C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8937C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937C2#FFFFFF#000000##FFFFFF
##8937C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#805779
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8937c2;
/* rgb */ color: rgb(137, 55, 194);
/* oklch */ color: oklch(51.8% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#b075d5',
    500: '#8937c2',
    950: '#000000',
  },
}
SCSS
$custom: #8937c2;
$custom-light: #b075d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8937c2",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 275.396,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.20771,
    "h": 307.5
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8937C2

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

Preview Lab → · Contrast checker → · Palette generator →

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