#8B5DCE#8B5DCE

#8B5DCE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.169 H 299.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8B5DCE
RGBrgb(139, 93, 206)
HSLhsl(264, 54%, 59%)
HSVhsv(264, 55%, 81%)
CMYKcmyk(32.5%, 54.9%, 0%, 19.2%)
CIE-LABlab(49.22, 42.20, -51.93)
CIE-LCHlch(49.22, 66.92, 309.09°)
OKLaboklab(57.99% 0.0845 -0.1468)
OKLCHoklch(57.99% 0.169 299.9)
XYZxyz(25.6997, 17.7737, 60.4573)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DCE #A0CE5D
analogous
#5D67CE #8B5DCE #C45DCE
triadic
#8B5DCE #CE8B5D #5DCE8B
tetradic
#8B5DCE #CE5D67 #A0CE5D #5DCEC4
square
#8B5DCE #CE5D67 #A0CE5D #5DCEC4
split-complementary
#8B5DCE #CEC45D #67CE5D
monochromatic
#502988 #6B37B7 #8B5DCE #AD8CDC #CEBBEA

Accessibility & contrast

On white

4.61
#8B5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8B5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5DCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DCE#FFFFFF#000000##FFFFFF
##8B5DCE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#7D738D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b5dce;
/* rgb */ color: rgb(139, 93, 206);
/* oklch */ color: oklch(58.0% 0.169 299.9);
Tailwind
colors: {
  custom: {
    50: '#b08cdd',
    500: '#8b5dce',
    950: '#000000',
  },
}
SCSS
$custom: #8b5dce;
$custom-light: #b08cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5dce",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 264.425,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.16943,
    "h": 299.9
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#8B5DCE
secondary
#C8DAAD
accent
#DD4BA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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