#8937D0#8937D0

#8937D0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.9% C 0.222 H 304.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8937D0
RGBrgb(137, 55, 208)
HSLhsl(272, 62%, 52%)
HSVhsv(272, 74%, 82%)
CMYKcmyk(34.1%, 73.6%, 0%, 18.4%)
CIE-LABlab(42.16, 61.17, -64.49)
CIE-LCHlch(42.16, 88.89, 313.49°)
OKLaboklab(52.88% 0.1241 -0.1836)
OKLCHoklch(52.88% 0.222 304)
XYZxyz(23.0653, 12.6049, 60.8801)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8937D0 #7ED037
analogous
#3D37D0 #8937D0 #D037CA
triadic
#8937D0 #D08937 #37D089
tetradic
#8937D0 #D03D37 #7ED037 #37CAD0
square
#8937D0 #D03D37 #7ED037 #37CAD0
split-complementary
#8937D0 #CAD037 #37D03D
monochromatic
#491B72 #6926A3 #8937D0 #A669DC #C39AE7

Accessibility & contrast

On white

5.96
#8937D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8937D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8937D0
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8937D0#FFFFFF#000000##FFFFFF
##8937D01.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#7B5D81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8937d0;
/* rgb */ color: rgb(137, 55, 208);
/* oklch */ color: oklch(52.9% 0.222 304.0);
Tailwind
colors: {
  custom: {
    50: '#b176df',
    500: '#8937d0',
    950: '#000000',
  },
}
SCSS
$custom: #8937d0;
$custom-light: #b176df;
$custom-dark: #000000;
JSON
{
  "hex": "#8937d0",
  "rgb": {
    "r": 137,
    "g": 55,
    "b": 208
  },
  "hsl": {
    "h": 272.157,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.22163,
    "h": 304
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#8937D0
secondary
#AFD390
accent
#E5438E
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8937D0

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

Preview Lab → · Contrast checker → · Palette generator →

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