#8956CE#8956CE

#8956CE is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.179 H 300.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8956CE
RGBrgb(137, 86, 206)
HSLhsl(266, 55%, 57%)
HSVhsv(266, 58%, 81%)
CMYKcmyk(33.5%, 58.3%, 0%, 19.2%)
CIE-LABlab(47.53, 45.57, -54.65)
CIE-LCHlch(47.53, 71.16, 309.82°)
OKLaboklab(56.71% 0.0907 -0.1549)
OKLCHoklch(56.71% 0.179 300.4)
XYZxyz(24.7822, 16.4300, 60.2462)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956CE #9BCE56
analogous
#565FCE #8956CE #C556CE
triadic
#8956CE #CE8956 #56CE89
tetradic
#8956CE #CE565F #9BCE56 #56CEC5
square
#8956CE #CE565F #9BCE56 #56CEC5
split-complementary
#8956CE #CEC556 #5FCE56
monochromatic
#4E2683 #6A34B3 #8956CE #AA85DC #CBB5EA

Accessibility & contrast

On white

4.90
#8956CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8956CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956CE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956CE#FFFFFF#000000##FFFFFF
##8956CE1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#3170CB
Tritanopia (blue-blind)
#7B6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8956ce;
/* rgb */ color: rgb(137, 86, 206);
/* oklch */ color: oklch(56.7% 0.179 300.4);
Tailwind
colors: {
  custom: {
    50: '#af88de',
    500: '#8956ce',
    950: '#000000',
  },
}
SCSS
$custom: #8956ce;
$custom-light: #af88de;
$custom-dark: #000000;
JSON
{
  "hex": "#8956ce",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 265.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56705,
    "c": 0.17946,
    "h": 300.4
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#8956CE
secondary
#C4D8A8
accent
#DE499F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8956CE

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

Preview Lab → · Contrast checker → · Palette generator →

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