#8956BC#8956BC

#8956BC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.158 H 304.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8956BC
RGBrgb(137, 86, 188)
HSLhsl(270, 43%, 54%)
HSVhsv(270, 54%, 74%)
CMYKcmyk(27.1%, 54.3%, 0%, 26.3%)
CIE-LABlab(46.45, 41.12, -45.99)
CIE-LCHlch(46.45, 61.69, 311.80°)
OKLaboklab(55.56% 0.0903 -0.1294)
OKLCHoklch(55.56% 0.158 304.9)
XYZxyz(22.7195, 15.6049, 49.3823)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956BC #89BC56
analogous
#5656BC #8956BC #BC56BC
triadic
#8956BC #BC8956 #56BC89
tetradic
#8956BC #BC5656 #89BC56 #56BCBC
square
#8956BC #BC5656 #89BC56 #56BCBC
split-complementary
#8956BC #BCBC56 #56BC56
monochromatic
#4C2B6D #6A3C98 #8956BC #A882CD #C6AEDF

Accessibility & contrast

On white

5.10
#8956BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8956BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956BC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956BC#FFFFFF#000000##FFFFFF
##8956BC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#806981
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8956bc;
/* rgb */ color: rgb(137, 86, 188);
/* oklch */ color: oklch(55.6% 0.158 304.9);
Tailwind
colors: {
  custom: {
    50: '#ae87d1',
    500: '#8956bc',
    950: '#000000',
  },
}
SCSS
$custom: #8956bc;
$custom-light: #ae87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8956bc",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.15783,
    "h": 304.9
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#8956BC
secondary
#B7CDA1
accent
#D35594
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8956BC

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

Preview Lab → · Contrast checker → · Palette generator →

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