#8937D1#8937D1

#8937D1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.0% C 0.223 H 303.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8937D1
RGBrgb(137, 55, 209)
HSLhsl(272, 63%, 52%)
HSVhsv(272, 74%, 82%)
CMYKcmyk(34.4%, 73.7%, 0%, 18%)
CIE-LABlab(42.24, 61.40, -64.94)
CIE-LCHlch(42.24, 89.37, 313.40°)
OKLaboklab(52.96% 0.1239 -0.185)
OKLCHoklch(52.96% 0.223 303.8)
XYZxyz(23.1887, 12.6542, 61.5301)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937D1 #7FD137
analogous
#3C37D1 #8937D1 #D137CC
triadic
#8937D1 #D18937 #37D189
tetradic
#8937D1 #D13C37 #7FD137 #37CCD1
square
#8937D1 #D13C37 #7FD137 #37CCD1
split-complementary
#8937D1 #CCD137 #37D13C
monochromatic
#4A1A73 #6A26A5 #8937D1 #A669DC #C49BE8

Accessibility & contrast

On white

5.95
#8937D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8937D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937D1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937D1#FFFFFF#000000##FFFFFF
##8937D11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#7B5D81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8937d1;
/* rgb */ color: rgb(137, 55, 209);
/* oklch */ color: oklch(53.0% 0.223 303.8);
Tailwind
colors: {
  custom: {
    50: '#b176e0',
    500: '#8937d1',
    950: '#000000',
  },
}
SCSS
$custom: #8937d1;
$custom-light: #b176e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8937d1",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 209
  },
  "hsl": {
    "h": 271.948,
    "s": 62.602,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.22262,
    "h": 303.8
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#8937D1
secondary
#B0D490
accent
#E6428F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8937D1

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

Preview Lab → · Contrast checker → · Palette generator →

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