#8D5BB0#8D5BB0

#8D5BB0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.1% C 0.136 H 309.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D5BB0
RGBrgb(141, 91, 176)
HSLhsl(275, 35%, 52%)
HSVhsv(275, 48%, 69%)
CMYKcmyk(19.9%, 48.3%, 0%, 31%)
CIE-LABlab(47.34, 36.57, -37.55)
CIE-LCHlch(47.34, 52.41, 314.24°)
OKLaboklab(56.11% 0.0873 -0.1048)
OKLCHoklch(56.11% 0.136 309.8)
XYZxyz(22.5606, 16.2798, 43.0197)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BB0 #7EB05B
analogous
#635BB0 #8D5BB0 #B05BA8
triadic
#8D5BB0 #B08D5B #5BB08D
tetradic
#8D5BB0 #B0635B #7EB05B #5BA8B0
square
#8D5BB0 #B0635B #7EB05B #5BA8B0
split-complementary
#8D5BB0 #A8B05B #5BB063
monochromatic
#4D2F62 #6D438B #8D5BB0 #AA84C4 #C6AED8

Accessibility & contrast

On white

4.93
#8D5BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8D5BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BB0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BB0#FFFFFF#000000##FFFFFF
##8D5BB01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#5471AE
Tritanopia (blue-blind)
#89697D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d5bb0;
/* rgb */ color: rgb(141, 91, 176);
/* oklch */ color: oklch(56.1% 0.136 309.8);
Tailwind
colors: {
  custom: {
    50: '#b08bc8',
    500: '#8d5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bb0;
$custom-light: #b08bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bb0",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 275.294,
    "s": 34.979,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.13639,
    "h": 309.8
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#8D5BB0
secondary
#B0C6A1
accent
#CB5D8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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