#8956DC#8956DC

#8956DC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.196 H 297.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8956DC
RGBrgb(137, 86, 220)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 61%, 86%)
CMYKcmyk(37.7%, 60.9%, 0%, 13.7%)
CIE-LABlab(48.44, 49.14, -61.19)
CIE-LCHlch(48.44, 78.48, 308.77°)
OKLaboklab(57.65% 0.0903 -0.1741)
OKLCHoklch(57.65% 0.196 297.4)
XYZxyz(26.5593, 17.1408, 69.6055)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956DC #A9DC56
analogous
#5666DC #8956DC #CC56DC
triadic
#8956DC #DC8956 #56DC89
tetradic
#8956DC #DC5666 #A9DC56 #56DCCC
square
#8956DC #DC5666 #A9DC56 #56DCCC
split-complementary
#8956DC #DCCC56 #66DC56
monochromatic
#4D2098 #672ACB #8956DC #AC89E6 #D0BBF1

Accessibility & contrast

On white

4.74
#8956DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8956DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956DC#FFFFFF#000000##FFFFFF
##8956DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#1771D9
Tritanopia (blue-blind)
#757391
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8956dc;
/* rgb */ color: rgb(137, 86, 220);
/* oklch */ color: oklch(57.7% 0.196 297.4);
Tailwind
colors: {
  custom: {
    50: '#b188e8',
    500: '#8956dc',
    950: '#000000',
  },
}
SCSS
$custom: #8956dc;
$custom-light: #b188e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8956dc",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 262.836,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.57653,
    "c": 0.19608,
    "h": 297.4
  },
  "luminance": 0.17141
}

Semantic roles & 50–950 ramp

primary
#8956DC
secondary
#CDE1AD
accent
#E93FA8
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8956DC

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

Preview Lab → · Contrast checker → · Palette generator →

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