#8D5CBB#8D5CBB

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

Color values

HEX#8D5CBB
RGBrgb(141, 92, 187)
HSLhsl(271, 41%, 55%)
HSVhsv(271, 51%, 73%)
CMYKcmyk(24.6%, 50.8%, 0%, 26.7%)
CIE-LABlab(48.14, 38.59, -42.69)
CIE-LCHlch(48.14, 57.55, 312.11°)
OKLaboklab(56.9% 0.0872 -0.1197)
OKLCHoklch(56.9% 0.148 306.1)
XYZxyz(23.7794, 16.9051, 49.0143)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CBB #8ABB5C
analogous
#5D5CBB #8D5CBB #BB5CBA
triadic
#8D5CBB #BB8D5C #5CBB8D
tetradic
#8D5CBB #BB5D5C #8ABB5C #5CBABB
square
#8D5CBB #BB5D5C #8ABB5C #5CBABB
split-complementary
#8D5CBB #BABB5C #5CBB5D
monochromatic
#4F2E6F #6E409A #8D5CBB #AB87CD #C9B2DF

Accessibility & contrast

On white

4.79
#8D5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8D5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CBB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CBB#FFFFFF#000000##FFFFFF
##8D5CBB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071BE
Deuteranopia (green-blind)
#4E73B9
Tritanopia (blue-blind)
#866D83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d5cbb;
/* rgb */ color: rgb(141, 92, 187);
/* oklch */ color: oklch(56.9% 0.148 306.1);
Tailwind
colors: {
  custom: {
    50: '#b18bd0',
    500: '#8d5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cbb;
$custom-light: #b18bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cbb",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 270.947,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.14811,
    "h": 306.1
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#8D5CBB
secondary
#B9CDA5
accent
#D15792
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8D5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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