#8B56DB#8B56DB

#8B56DB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.195 H 298.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8B56DB
RGBrgb(139, 86, 219)
HSLhsl(264, 65%, 60%)
HSVhsv(264, 61%, 86%)
CMYKcmyk(36.5%, 60.7%, 0%, 14.1%)
CIE-LABlab(48.58, 49.32, -60.37)
CIE-LCHlch(48.58, 77.96, 309.25°)
OKLaboklab(57.79% 0.0929 -0.1716)
OKLCHoklch(57.79% 0.195 298.4)
XYZxyz(26.7582, 17.2587, 68.9256)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B56DB #A6DB56
analogous
#5663DB #8B56DB #CE56DB
triadic
#8B56DB #DB8B56 #56DB8B
tetradic
#8B56DB #DB5663 #A6DB56 #56DBCE
square
#8B56DB #DB5663 #A6DB56 #56DBCE
split-complementary
#8B56DB #DBCE56 #63DB56
monochromatic
#4F2097 #6A2BC9 #8B56DB #AE88E6 #D0BBF0

Accessibility & contrast

On white

4.72
#8B56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8B56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B56DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B56DB#FFFFFF#000000##FFFFFF
##8B56DB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#797390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b56db;
/* rgb */ color: rgb(139, 86, 219);
/* oklch */ color: oklch(57.8% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#b288e7',
    500: '#8b56db',
    950: '#000000',
  },
}
SCSS
$custom: #8b56db;
$custom-light: #b288e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b56db",
  "rgb": {
    "r": 139,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 263.91,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.19516,
    "h": 298.4
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#8B56DB
secondary
#CCE0AD
accent
#E840A5
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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