#8B5BCD#8B5BCD

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

Color values

HEX#8B5BCD
RGBrgb(139, 91, 205)
HSLhsl(265, 53%, 58%)
HSVhsv(265, 56%, 80%)
CMYKcmyk(32.2%, 55.6%, 0%, 19.6%)
CIE-LABlab(48.73, 43.06, -52.14)
CIE-LCHlch(48.73, 67.62, 309.55°)
OKLaboklab(57.62% 0.087 -0.1474)
OKLCHoklch(57.62% 0.171 300.6)
XYZxyz(25.4054, 17.3788, 59.7618)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BCD #9DCD5B
analogous
#5B64CD #8B5BCD #C45BCD
triadic
#8B5BCD #CD8B5B #5BCD8B
tetradic
#8B5BCD #CD5B64 #9DCD5B #5BCDC4
square
#8B5BCD #CD5B64 #9DCD5B #5BCDC4
split-complementary
#8B5BCD #CDC45B #64CD5B
monochromatic
#4F2985 #6C37B4 #8B5BCD #AC8ADB #CDB9EA

Accessibility & contrast

On white

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

On black

4.48
#8B5BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B5BCD#FFFFFF#000000##FFFFFF
##8B5BCD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#7E728B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5bcd;
/* rgb */ color: rgb(139, 91, 205);
/* oklch */ color: oklch(57.6% 0.171 300.6);
Tailwind
colors: {
  custom: {
    50: '#b08bdd',
    500: '#8b5bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bcd;
$custom-light: #b08bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bcd",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 265.263,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.17121,
    "h": 300.6
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#8B5BCD
secondary
#C5D9AB
accent
#DD4B9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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