#8D5BB5#8D5BB5

#8D5BB5 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.142 H 308.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D5BB5
RGBrgb(141, 91, 181)
HSLhsl(273, 38%, 53%)
HSVhsv(273, 50%, 71%)
CMYKcmyk(22.1%, 49.7%, 0%, 29%)
CIE-LABlab(47.60, 37.73, -40.06)
CIE-LCHlch(47.60, 55.03, 313.29°)
OKLaboklab(56.39% 0.088 -0.1121)
OKLCHoklch(56.39% 0.142 308.1)
XYZxyz(23.0644, 16.4814, 45.6733)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BB5 #83B55B
analogous
#605BB5 #8D5BB5 #B55BB0
triadic
#8D5BB5 #B58D5B #5BB58D
tetradic
#8D5BB5 #B5605B #83B55B #5BB0B5
square
#8D5BB5 #B5605B #83B55B #5BB0B5
split-complementary
#8D5BB5 #B0B55B #5BB560
monochromatic
#4E2F67 #6E4291 #8D5BB5 #AA85C8 #C8AFDB

Accessibility & contrast

On white

4.89
#8D5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8D5BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BB5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BB5#FFFFFF#000000##FFFFFF
##8D5BB51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436FB8
Deuteranopia (green-blind)
#5172B3
Tritanopia (blue-blind)
#876A7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5bb5;
/* rgb */ color: rgb(141, 91, 181);
/* oklch */ color: oklch(56.4% 0.142 308.1);
Tailwind
colors: {
  custom: {
    50: '#b08bcb',
    500: '#8d5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bb5;
$custom-light: #b08bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bb5",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 273.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.14245,
    "h": 308.1
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#8D5BB5
secondary
#B4C9A3
accent
#CE5A8D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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