#8B56CD#8B56CD

#8B56CD is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.179 H 301.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8B56CD
RGBrgb(139, 86, 205)
HSLhsl(267, 54%, 57%)
HSVhsv(267, 58%, 80%)
CMYKcmyk(32.2%, 58%, 0%, 19.6%)
CIE-LABlab(47.69, 45.80, -53.81)
CIE-LCHlch(47.69, 70.66, 310.40°)
OKLaboklab(56.85% 0.0933 -0.1523)
OKLCHoklch(56.85% 0.179 301.5)
XYZxyz(24.9921, 16.5522, 59.6240)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56CD #98CD56
analogous
#565CCD #8B56CD #C756CD
triadic
#8B56CD #CD8B56 #56CD8B
tetradic
#8B56CD #CD565C #98CD56 #56CDC7
square
#8B56CD #CD565C #98CD56 #56CDC7
split-complementary
#8B56CD #CDC756 #5CCD56
monochromatic
#4F2682 #6C34B1 #8B56CD #AB85DB #CCB4E9

Accessibility & contrast

On white

4.87
#8B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8B56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56CD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56CD#FFFFFF#000000##FFFFFF
##8B56CD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#7E6E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b56cd;
/* rgb */ color: rgb(139, 86, 205);
/* oklch */ color: oklch(56.9% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#b188dd',
    500: '#8b56cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b56cd;
$custom-light: #b188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56cd",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 266.723,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5685,
    "c": 0.17863,
    "h": 301.5
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#8B56CD
secondary
#C2D8A7
accent
#DE4A9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B56CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8B56CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva