#8B5CCE#8B5CCE

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

Color values

HEX#8B5CCE
RGBrgb(139, 92, 206)
HSLhsl(265, 54%, 58%)
HSVhsv(265, 55%, 81%)
CMYKcmyk(32.5%, 55.3%, 0%, 19.2%)
CIE-LABlab(49.01, 42.75, -52.28)
CIE-LCHlch(49.01, 67.53, 309.28°)
OKLaboklab(57.84% 0.0858 -0.1478)
OKLCHoklch(57.84% 0.171 300.1)
XYZxyz(25.6125, 17.5993, 60.4282)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CCE #9FCE5C
analogous
#5C66CE #8B5CCE #C45CCE
triadic
#8B5CCE #CE8B5C #5CCE8B
tetradic
#8B5CCE #CE5C66 #9FCE5C #5CCEC4
square
#8B5CCE #CE5C66 #9FCE5C #5CCEC4
split-complementary
#8B5CCE #CEC45C #66CE5C
monochromatic
#502987 #6B37B6 #8B5CCE #AC8BDC #CEBAEA

Accessibility & contrast

On white

4.65
#8B5CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8B5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CCE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CCE#FFFFFF#000000##FFFFFF
##8B5CCE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C74D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#7D738C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5cce;
/* rgb */ color: rgb(139, 92, 206);
/* oklch */ color: oklch(57.8% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#b08cdd',
    500: '#8b5cce',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cce;
$custom-light: #b08cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cce",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 264.737,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.17093,
    "h": 300.1
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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