#8B5CC2#8B5CC2

#8B5CC2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.156 H 303.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B5CC2
RGBrgb(139, 92, 194)
HSLhsl(268, 46%, 56%)
HSVhsv(268, 53%, 76%)
CMYKcmyk(28.4%, 52.6%, 0%, 23.9%)
CIE-LABlab(48.31, 39.76, -46.49)
CIE-LCHlch(48.31, 61.17, 310.54°)
OKLaboklab(57.1% 0.0852 -0.1309)
OKLCHoklch(57.1% 0.156 303.1)
XYZxyz(24.2100, 17.0383, 53.0418)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CC2 #93C25C
analogous
#5C60C2 #8B5CC2 #BE5CC2
triadic
#8B5CC2 #C28B5C #5CC28B
tetradic
#8B5CC2 #C25C60 #93C25C #5CC2BE
square
#8B5CC2 #C25C60 #93C25C #5CC2BE
split-complementary
#8B5CC2 #C2BE5C #60C25C
monochromatic
#4F2D77 #6C3DA4 #8B5CC2 #AB89D3 #CAB5E3

Accessibility & contrast

On white

4.76
#8B5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8B5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CC2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CC2#FFFFFF#000000##FFFFFF
##8B5CC21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3972C5
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#816F86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b5cc2;
/* rgb */ color: rgb(139, 92, 194);
/* oklch */ color: oklch(57.1% 0.156 303.1);
Tailwind
colors: {
  custom: {
    50: '#b08bd5',
    500: '#8b5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cc2;
$custom-light: #b08bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cc2",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 267.647,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.15619,
    "h": 303.1
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#8B5CC2
secondary
#BFD2A8
accent
#D55399
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8B5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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