#8D5BCE#8D5BCE

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

Color values

HEX#8D5BCE
RGBrgb(141, 91, 206)
HSLhsl(266, 54%, 58%)
HSVhsv(266, 56%, 81%)
CMYKcmyk(31.6%, 55.8%, 0%, 19.2%)
CIE-LABlab(49.01, 43.80, -52.26)
CIE-LCHlch(49.01, 68.19, 309.96°)
OKLaboklab(57.89% 0.0896 -0.1477)
OKLCHoklch(57.89% 0.173 301.2)
XYZxyz(25.8636, 17.6010, 60.4153)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BCE #9CCE5B
analogous
#5B62CE #8D5BCE #C75BCE
triadic
#8D5BCE #CE8D5B #5BCE8D
tetradic
#8D5BCE #CE5B62 #9CCE5B #5BCEC7
square
#8D5BCE #CE5B62 #9CCE5B #5BCEC7
split-complementary
#8D5BCE #CEC75B #62CE5B
monochromatic
#512886 #6E36B6 #8D5BCE #AE8ADC #CFB9EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5BCE#FFFFFF#000000##FFFFFF
##8D5BCE1.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)
#2B74D2
Deuteranopia (green-blind)
#3D74CB
Tritanopia (blue-blind)
#80728C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5bce;
/* rgb */ color: rgb(141, 91, 206);
/* oklch */ color: oklch(57.9% 0.173 301.2);
Tailwind
colors: {
  custom: {
    50: '#b28bdd',
    500: '#8d5bce',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bce;
$custom-light: #b28bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bce",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 266.087,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.1728,
    "h": 301.2
  },
  "luminance": 0.17601
}

Semantic roles & 50–950 ramp

primary
#8D5BCE
secondary
#C5D9AB
accent
#DD4A9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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