#8B5CC8#8B5CC8

#8B5CC8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.164 H 301.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8B5CC8
RGBrgb(139, 92, 200)
HSLhsl(266, 50%, 57%)
HSVhsv(266, 54%, 78%)
CMYKcmyk(30.5%, 54%, 0%, 21.6%)
CIE-LABlab(48.65, 41.25, -49.40)
CIE-LCHlch(48.65, 64.36, 309.86°)
OKLaboklab(57.46% 0.0856 -0.1394)
OKLCHoklch(57.46% 0.164 301.5)
XYZxyz(24.8975, 17.3133, 56.6625)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CC8 #99C85C
analogous
#5C63C8 #8B5CC8 #C15CC8
triadic
#8B5CC8 #C88B5C #5CC88B
tetradic
#8B5CC8 #C85C63 #99C85C #5CC8C1
square
#8B5CC8 #C85C63 #99C85C #5CC8C1
split-complementary
#8B5CC8 #C8C15C #63C85C
monochromatic
#4F2B7F #6C3AAD #8B5CC8 #AC8AD7 #CCB8E7

Accessibility & contrast

On white

4.71
#8B5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8B5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CC8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CC8#FFFFFF#000000##FFFFFF
##8B5CC81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3373CC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#7F7189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5cc8;
/* rgb */ color: rgb(139, 92, 200);
/* oklch */ color: oklch(57.5% 0.164 301.5);
Tailwind
colors: {
  custom: {
    50: '#b08cd9',
    500: '#8b5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cc8;
$custom-light: #b08cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cc8",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 266.111,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.16357,
    "h": 301.5
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#8B5CC8
secondary
#C3D6AA
accent
#D94F9D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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