#8B5CCC#8B5CCC

#8B5CCC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.168 H 300.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8B5CCC
RGBrgb(139, 92, 204)
HSLhsl(265, 52%, 58%)
HSVhsv(265, 55%, 80%)
CMYKcmyk(31.9%, 54.9%, 0%, 20%)
CIE-LABlab(48.89, 42.25, -51.32)
CIE-LCHlch(48.89, 66.48, 309.46°)
OKLaboklab(57.71% 0.0857 -0.145)
OKLCHoklch(57.71% 0.168 300.6)
XYZxyz(25.3711, 17.5028, 59.1568)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CCC #9DCC5C
analogous
#5C65CC #8B5CCC #C35CCC
triadic
#8B5CCC #CC8B5C #5CCC8B
tetradic
#8B5CCC #CC5C65 #9DCC5C #5CCCC3
square
#8B5CCC #CC5C65 #9DCC5C #5CCCC3
split-complementary
#8B5CCC #CCC35C #65CC5C
monochromatic
#4F2984 #6C38B3 #8B5CCC #AC8BDB #CDB9E9

Accessibility & contrast

On white

4.67
#8B5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8B5CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CCC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CCC#FFFFFF#000000##FFFFFF
##8B5CCC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b5ccc;
/* rgb */ color: rgb(139, 92, 204);
/* oklch */ color: oklch(57.7% 0.168 300.6);
Tailwind
colors: {
  custom: {
    50: '#b08cdc',
    500: '#8b5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ccc;
$custom-light: #b08cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ccc",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 265.179,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5771,
    "c": 0.16848,
    "h": 300.6
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

primary
#8B5CCC
secondary
#C5D8AC
accent
#DC4C9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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