#8D5BCF#8D5BCF

#8D5BCF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.174 H 301.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5BCF
RGBrgb(141, 91, 207)
HSLhsl(266, 55%, 58%)
HSVhsv(266, 56%, 81%)
CMYKcmyk(31.9%, 56%, 0%, 18.8%)
CIE-LABlab(49.07, 44.05, -52.74)
CIE-LCHlch(49.07, 68.71, 309.87°)
OKLaboklab(57.95% 0.0897 -0.1491)
OKLCHoklch(57.95% 0.174 301)
XYZxyz(25.9854, 17.6498, 61.0571)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BCF #9DCF5B
analogous
#5B63CF #8D5BCF #C75BCF
triadic
#8D5BCF #CF8D5B #5BCF8D
tetradic
#8D5BCF #CF5B63 #9DCF5B #5BCFC7
square
#8D5BCF #CF5B63 #9DCF5B #5BCFC7
split-complementary
#8D5BCF #CFC75B #63CF5B
monochromatic
#512888 #6D36B7 #8D5BCF #AE8ADD #CFBAEB

Accessibility & contrast

On white

4.64
#8D5BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8D5BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BCF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BCF#FFFFFF#000000##FFFFFF
##8D5BCF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#80728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5bcf;
/* rgb */ color: rgb(141, 91, 207);
/* oklch */ color: oklch(58.0% 0.174 301.0);
Tailwind
colors: {
  custom: {
    50: '#b28bde',
    500: '#8d5bcf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bcf;
$custom-light: #b28bde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bcf",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 265.862,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5795,
    "c": 0.17401,
    "h": 301
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#8D5BCF
secondary
#C6DAAC
accent
#DE4A9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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