#8B56DD#8B56DD

#8B56DD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.198 H 298.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8B56DD
RGBrgb(139, 86, 221)
HSLhsl(264, 67%, 60%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(37.1%, 61.1%, 0%, 13.3%)
CIE-LABlab(48.72, 49.83, -61.30)
CIE-LCHlch(48.72, 79.00, 309.11°)
OKLaboklab(57.93% 0.0928 -0.1743)
OKLCHoklch(57.93% 0.198 298)
XYZxyz(27.0231, 17.3646, 70.3206)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56DD #A8DD56
analogous
#5664DD #8B56DD #CF56DD
triadic
#8B56DD #DD8B56 #56DD8B
tetradic
#8B56DD #DD5664 #A8DD56 #56DDCF
square
#8B56DD #DD5664 #A8DD56 #56DDCF
split-complementary
#8B56DD #DDCF56 #64DD56
monochromatic
#4F1F9A #6929CD #8B56DD #AE89E7 #D1BCF2

Accessibility & contrast

On white

4.69
#8B56DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8B56DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56DD#FFFFFF#000000##FFFFFF
##8B56DD1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#1A72DA
Tritanopia (blue-blind)
#787492
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b56dd;
/* rgb */ color: rgb(139, 86, 221);
/* oklch */ color: oklch(57.9% 0.198 298.0);
Tailwind
colors: {
  custom: {
    50: '#b288e8',
    500: '#8b56dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b56dd;
$custom-light: #b288e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56dd",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 263.556,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.1975,
    "h": 298
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#8B56DD
secondary
#CDE1AE
accent
#CE1786
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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