#8956CD#8956CD

#8956CD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.178 H 300.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8956CD
RGBrgb(137, 86, 205)
HSLhsl(266, 54%, 57%)
HSVhsv(266, 58%, 80%)
CMYKcmyk(33.2%, 58%, 0%, 19.6%)
CIE-LABlab(47.47, 45.32, -54.18)
CIE-LCHlch(47.47, 70.64, 309.91°)
OKLaboklab(56.64% 0.0907 -0.1535)
OKLCHoklch(56.64% 0.178 300.6)
XYZxyz(24.6611, 16.3816, 59.6085)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956CD #9ACD56
analogous
#565FCD #8956CD #C456CD
triadic
#8956CD #CD8956 #56CD89
tetradic
#8956CD #CD565F #9ACD56 #56CDC4
square
#8956CD #CD565F #9ACD56 #56CDC4
split-complementary
#8956CD #CDC456 #5FCD56
monochromatic
#4E2682 #6A34B1 #8956CD #AA85DB #CBB4E9

Accessibility & contrast

On white

4.91
#8956CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8956CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956CD#FFFFFF#000000##FFFFFF
##8956CD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#3370CA
Tritanopia (blue-blind)
#7B6E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8956cd;
/* rgb */ color: rgb(137, 86, 205);
/* oklch */ color: oklch(56.6% 0.178 300.6);
Tailwind
colors: {
  custom: {
    50: '#af88dd',
    500: '#8956cd',
    950: '#000000',
  },
}
SCSS
$custom: #8956cd;
$custom-light: #af88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8956cd",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 265.714,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.17827,
    "h": 300.6
  },
  "luminance": 0.16382
}

Semantic roles & 50–950 ramp

primary
#8956CD
secondary
#C3D8A7
accent
#DE4A9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8956CD

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

Preview Lab → · Contrast checker → · Palette generator →

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