#8B5BDC#8B5BDC

#8B5BDC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.6% C 0.189 H 297.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B5BDC
RGBrgb(139, 91, 220)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 59%, 86%)
CMYKcmyk(36.8%, 58.6%, 0%, 13.7%)
CIE-LABlab(49.66, 46.88, -59.20)
CIE-LCHlch(49.66, 75.52, 308.37°)
OKLaboklab(58.6% 0.0871 -0.1682)
OKLCHoklch(58.6% 0.189 297.4)
XYZxyz(27.3035, 18.1380, 69.7588)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BDC #ACDC5B
analogous
#5B6BDC #8B5BDC #CC5BDC
triadic
#8B5BDC #DC8B5B #5BDC8B
tetradic
#8B5BDC #DC5B6B #ACDC5B #5BDCCC
square
#8B5BDC #DC5B6B #ACDC5B #5BDCCC
split-complementary
#8B5BDC #DCCC5B #6BDC5B
monochromatic
#4F219B #682CCE #8B5BDC #AF8DE7 #D2C0F2

Accessibility & contrast

On white

4.54
#8B5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8B5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5BDC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5BDC#FFFFFF#000000##000000
##8B5BDC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0977E0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#787693
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5bdc;
/* rgb */ color: rgb(139, 91, 220);
/* oklch */ color: oklch(58.6% 0.189 297.4);
Tailwind
colors: {
  custom: {
    50: '#b28be8',
    500: '#8b5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bdc;
$custom-light: #b28be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bdc",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 262.326,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58596,
    "c": 0.18937,
    "h": 297.4
  },
  "luminance": 0.18138
}

Semantic roles & 50–950 ramp

primary
#8B5BDC
secondary
#D0E2B1
accent
#CD198A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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