#8D5BBE#8D5BBE

#8D5BBE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.153 H 305.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8D5BBE
RGBrgb(141, 91, 190)
HSLhsl(270, 43%, 55%)
HSVhsv(270, 52%, 75%)
CMYKcmyk(25.8%, 52.1%, 0%, 25.5%)
CIE-LABlab(48.09, 39.87, -44.52)
CIE-LCHlch(48.09, 59.76, 311.85°)
OKLaboklab(56.91% 0.0888 -0.1251)
OKLCHoklch(56.91% 0.153 305.4)
XYZxyz(24.0179, 16.8628, 50.6948)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BBE #8CBE5B
analogous
#5C5BBE #8D5BBE #BE5BBD
triadic
#8D5BBE #BE8D5B #5BBE8D
tetradic
#8D5BBE #BE5C5B #8CBE5B #5BBDBE
square
#8D5BBE #BE5C5B #8CBE5B #5BBDBE
split-complementary
#8D5BBE #BDBE5B #5BBE5C
monochromatic
#502D72 #6E3E9D #8D5BBE #AB87CF #CAB3E1

Accessibility & contrast

On white

4.80
#8D5BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D5BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BBE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BBE#FFFFFF#000000##FFFFFF
##8D5BBE1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C1
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#856D84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5bbe;
/* rgb */ color: rgb(141, 91, 190);
/* oklch */ color: oklch(56.9% 0.153 305.4);
Tailwind
colors: {
  custom: {
    50: '#b18bd2',
    500: '#8d5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bbe;
$custom-light: #b18bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bbe",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 270.303,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56908,
    "c": 0.15339,
    "h": 305.4
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#8D5BBE
secondary
#BACFA6
accent
#D35593
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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