#8D5BB4#8D5BB4

#8D5BB4 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.141 H 308.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D5BB4
RGBrgb(141, 91, 180)
HSLhsl(274, 37%, 53%)
HSVhsv(274, 49%, 71%)
CMYKcmyk(21.7%, 49.4%, 0%, 29.4%)
CIE-LABlab(47.55, 37.50, -39.56)
CIE-LCHlch(47.55, 54.51, 313.47°)
OKLaboklab(56.33% 0.0878 -0.1106)
OKLCHoklch(56.33% 0.141 308.5)
XYZxyz(22.9622, 16.4405, 45.1348)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BB4 #82B45B
analogous
#605BB4 #8D5BB4 #B45BAE
triadic
#8D5BB4 #B48D5B #5BB48D
tetradic
#8D5BB4 #B4605B #82B45B #5BAEB4
square
#8D5BB4 #B4605B #82B45B #5BAEB4
split-complementary
#8D5BB4 #AEB45B #5BB460
monochromatic
#4E2F66 #6E4290 #8D5BB4 #AA85C7 #C7AFDA

Accessibility & contrast

On white

4.90
#8D5BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8D5BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BB4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BB4#FFFFFF#000000##FFFFFF
##8D5BB41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB7
Deuteranopia (green-blind)
#5271B2
Tritanopia (blue-blind)
#886A7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5bb4;
/* rgb */ color: rgb(141, 91, 180);
/* oklch */ color: oklch(56.3% 0.141 308.5);
Tailwind
colors: {
  custom: {
    50: '#b08bcb',
    500: '#8d5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bb4;
$custom-light: #b08bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bb4",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 273.708,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56333,
    "c": 0.14123,
    "h": 308.5
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#8D5BB4
secondary
#B3C9A2
accent
#CD5B8D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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