#8937C5#8937C5

#8937C5 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.211 H 306.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8937C5
RGBrgb(137, 55, 197)
HSLhsl(275, 56%, 49%)
HSVhsv(275, 72%, 77%)
CMYKcmyk(30.5%, 72.1%, 0%, 22.7%)
CIE-LABlab(41.35, 58.69, -59.44)
CIE-LCHlch(41.35, 83.53, 314.64°)
OKLaboklab(52.05% 0.1261 -0.1688)
OKLCHoklch(52.05% 0.211 306.8)
XYZxyz(21.7586, 12.0822, 53.9983)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937C5 #73C537
analogous
#4237C5 #8937C5 #C537BA
triadic
#8937C5 #C58937 #37C589
tetradic
#8937C5 #C54237 #73C537 #37BAC5
square
#8937C5 #C54237 #73C537 #37BAC5
split-complementary
#8937C5 #BAC537 #37C542
monochromatic
#461C65 #682A95 #8937C5 #A565D4 #C195E1

Accessibility & contrast

On white

6.15
#8937C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8937C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937C5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937C5#FFFFFF#000000##FFFFFF
##8937C51.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#7F587B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8937c5;
/* rgb */ color: rgb(137, 55, 197);
/* oklch */ color: oklch(52.1% 0.211 306.8);
Tailwind
colors: {
  custom: {
    50: '#b075d7',
    500: '#8937c5',
    950: '#000000',
  },
}
SCSS
$custom: #8937c5;
$custom-light: #b075d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8937c5",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 274.648,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.21069,
    "h": 306.8
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#8937C5
secondary
#A7CD8B
accent
#E04888
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8937C5

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

Preview Lab → · Contrast checker → · Palette generator →

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