#8936B8#8936B8

#8936B8 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 51.0% C 0.199 H 310.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8936B8
RGBrgb(137, 54, 184)
HSLhsl(278, 55%, 47%)
HSVhsv(278, 71%, 72%)
CMYKcmyk(25.5%, 70.7%, 0%, 27.8%)
CIE-LABlab(40.28, 56.24, -53.56)
CIE-LCHlch(40.28, 77.66, 316.40°)
OKLaboklab(51% 0.129 -0.1515)
OKLCHoklch(51% 0.199 310.4)
XYZxyz(20.2858, 11.4178, 46.4733)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8936B8 #65B836
analogous
#4836B8 #8936B8 #B836A6
triadic
#8936B8 #B88936 #36B889
tetradic
#8936B8 #B84836 #65B836 #36A6B8
square
#8936B8 #B84836 #65B836 #36A6B8
split-complementary
#8936B8 #A6B836 #36B848
monochromatic
#431A59 #662889 #8936B8 #A65CCF #C08BDD

Accessibility & contrast

On white

6.40
#8936B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8936B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8936B8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8936B8#FFFFFF#000000##FFFFFF
##8936B81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBC
Deuteranopia (green-blind)
#2060B5
Tritanopia (blue-blind)
#835373
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8936b8;
/* rgb */ color: rgb(137, 54, 184);
/* oklch */ color: oklch(51.0% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#b074ce',
    500: '#8936b8',
    950: '#000000',
  },
}
SCSS
$custom: #8936b8;
$custom-light: #b074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8936b8",
  "rgb": {
    "r": 137,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 278.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51,
    "c": 0.199,
    "h": 310.4
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#8936B8
secondary
#9BC782
accent
#DE4A7F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8936B8

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

Preview Lab → · Contrast checker → · Palette generator →

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