#8936D9#8936D9

#8936D9 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.5% C 0.232 H 302.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8936D9
RGBrgb(137, 54, 217)
HSLhsl(271, 68%, 53%)
HSVhsv(271, 75%, 85%)
CMYKcmyk(36.9%, 75.1%, 0%, 14.9%)
CIE-LABlab(42.71, 63.65, -68.77)
CIE-LCHlch(42.71, 93.70, 312.79°)
OKLaboklab(53.49% 0.123 -0.1962)
OKLCHoklch(53.49% 0.232 302.1)
XYZxyz(24.1571, 12.9664, 66.8623)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8936D9 #86D936
analogous
#3736D9 #8936D9 #D936D8
triadic
#8936D9 #D98936 #36D989
tetradic
#8936D9 #D93736 #86D936 #36D8D9
square
#8936D9 #D93736 #86D936 #36D8D9
split-complementary
#8936D9 #D8D936 #36D937
monochromatic
#4B187D #6A21B0 #8936D9 #A769E3 #C59DEC

Accessibility & contrast

On white

5.84
#8936D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8936D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8936D9
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8936D9#FFFFFF#000000##FFFFFF
##8936D91.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#786086
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8936d9;
/* rgb */ color: rgb(137, 54, 217);
/* oklch */ color: oklch(53.5% 0.232 302.1);
Tailwind
colors: {
  custom: {
    50: '#b275e6',
    500: '#8936d9',
    950: '#000000',
  },
}
SCSS
$custom: #8936d9;
$custom-light: #b275e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8936d9",
  "rgb": {
    "r": 137,
    "g": 54,
    "b": 217
  },
  "hsl": {
    "h": 270.552,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53489,
    "c": 0.23159,
    "h": 302.1
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#8936D9
secondary
#B5D992
accent
#EB3D92
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8936D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8936D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva