#8B5CCD#8B5CCD

#8B5CCD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.170 H 300.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B5CCD
RGBrgb(139, 92, 205)
HSLhsl(265, 53%, 58%)
HSVhsv(265, 55%, 80%)
CMYKcmyk(32.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(48.95, 42.50, -51.80)
CIE-LCHlch(48.95, 67.00, 309.37°)
OKLaboklab(57.77% 0.0858 -0.1464)
OKLCHoklch(57.77% 0.17 300.4)
XYZxyz(25.4914, 17.5509, 59.7904)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CCD #9ECD5C
analogous
#5C65CD #8B5CCD #C45CCD
triadic
#8B5CCD #CD8B5C #5CCD8B
tetradic
#8B5CCD #CD5C65 #9ECD5C #5CCDC4
square
#8B5CCD #CD5C65 #9ECD5C #5CCDC4
split-complementary
#8B5CCD #CDC45C #65CD5C
monochromatic
#502986 #6B37B4 #8B5CCD #AC8BDB #CEBAEA

Accessibility & contrast

On white

4.66
#8B5CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8B5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CCD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CCD#FFFFFF#000000##FFFFFF
##8B5CCD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#7D728C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5ccd;
/* rgb */ color: rgb(139, 92, 205);
/* oklch */ color: oklch(57.8% 0.170 300.4);
Tailwind
colors: {
  custom: {
    50: '#b08cdd',
    500: '#8b5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ccd;
$custom-light: #b08cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ccd",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 264.956,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.16971,
    "h": 300.4
  },
  "luminance": 0.17551
}

Semantic roles & 50–950 ramp

primary
#8B5CCD
secondary
#C6D9AC
accent
#DC4BA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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