#8937BC#8937BC

#8937BC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.202 H 309.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8937BC
RGBrgb(137, 55, 188)
HSLhsl(277, 55%, 48%)
HSVhsv(277, 71%, 74%)
CMYKcmyk(27.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(40.71, 56.68, -55.21)
CIE-LCHlch(40.71, 79.13, 315.75°)
OKLaboklab(51.4% 0.1275 -0.1564)
OKLCHoklch(51.4% 0.202 309.2)
XYZxyz(20.7580, 11.6820, 48.7285)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937BC #6ABC37
analogous
#4637BC #8937BC #BC37AD
triadic
#8937BC #BC8937 #37BC89
tetradic
#8937BC #BC4637 #6ABC37 #37ADBC
square
#8937BC #BC4637 #6ABC37 #37ADBC
split-complementary
#8937BC #ADBC37 #37BC46
monochromatic
#441B5D #66298D #8937BC #A560D0 #C08FDE

Accessibility & contrast

On white

6.29
#8937BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8937BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937BC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937BC#FFFFFF#000000##FFFFFF
##8937BC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#1A61B9
Tritanopia (blue-blind)
#815576
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8937bc;
/* rgb */ color: rgb(137, 55, 188);
/* oklch */ color: oklch(51.4% 0.202 309.2);
Tailwind
colors: {
  custom: {
    50: '#b075d1',
    500: '#8937bc',
    950: '#000000',
  },
}
SCSS
$custom: #8937bc;
$custom-light: #b075d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8937bc",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 276.992,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.20174,
    "h": 309.2
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#8937BC
secondary
#A0C986
accent
#DE4A83
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8937BC

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

Preview Lab → · Contrast checker → · Palette generator →

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