#8B56CC#8B56CC

#8B56CC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.177 H 301.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8B56CC
RGBrgb(139, 86, 204)
HSLhsl(267, 54%, 57%)
HSVhsv(267, 58%, 80%)
CMYKcmyk(31.9%, 57.8%, 0%, 20%)
CIE-LABlab(47.63, 45.55, -53.34)
CIE-LCHlch(47.63, 70.14, 310.50°)
OKLaboklab(56.79% 0.0933 -0.1509)
OKLCHoklch(56.79% 0.177 301.7)
XYZxyz(24.8718, 16.5041, 58.9903)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56CC #97CC56
analogous
#565CCC #8B56CC #C656CC
triadic
#8B56CC #CC8B56 #56CC8B
tetradic
#8B56CC #CC565C #97CC56 #56CCC6
square
#8B56CC #CC565C #97CC56 #56CCC6
split-complementary
#8B56CC #CCC656 #5CCC56
monochromatic
#4F2781 #6C35B0 #8B56CC #AB85DA #CCB4E8

Accessibility & contrast

On white

4.88
#8B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8B56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56CC#FFFFFF#000000##FFFFFF
##8B56CC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#7E6E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b56cc;
/* rgb */ color: rgb(139, 86, 204);
/* oklch */ color: oklch(56.8% 0.177 301.7);
Tailwind
colors: {
  custom: {
    50: '#b188dc',
    500: '#8b56cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b56cc;
$custom-light: #b188dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56cc",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 266.949,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.17745,
    "h": 301.7
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#8B56CC
secondary
#C1D7A7
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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