#8B5BCF#8B5BCF

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

Color values

HEX#8B5BCF
RGBrgb(139, 91, 207)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 56%, 81%)
CMYKcmyk(32.9%, 56%, 0%, 18.8%)
CIE-LABlab(48.85, 43.56, -53.09)
CIE-LCHlch(48.85, 68.68, 309.37°)
OKLaboklab(57.74% 0.0871 -0.1502)
OKLCHoklch(57.74% 0.174 300.1)
XYZxyz(25.6483, 17.4760, 61.0413)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5BCF #9FCF5B
analogous
#5B65CF #8B5BCF #C55BCF
triadic
#8B5BCF #CF8B5B #5BCF8B
tetradic
#8B5BCF #CF5B65 #9FCF5B #5BCFC5
square
#8B5BCF #CF5B65 #9FCF5B #5BCFC5
split-complementary
#8B5BCF #CFC55B #65CF5B
monochromatic
#502888 #6B36B7 #8B5BCF #AC8ADD #CEBAEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B5BCF#FFFFFF#000000##FFFFFF
##8B5BCF1.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)
#2874D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#7D728C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b5bcf;
/* rgb */ color: rgb(139, 91, 207);
/* oklch */ color: oklch(57.7% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#b18bde',
    500: '#8b5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8b5bcf;
$custom-light: #b18bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5bcf",
  "rgb": {
    "r": 139,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 264.828,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.17365,
    "h": 300.1
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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