#8D5DCB#8D5DCB

#8D5DCB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.166 H 301.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5DCB
RGBrgb(141, 93, 203)
HSLhsl(266, 51%, 58%)
HSVhsv(266, 54%, 80%)
CMYKcmyk(30.5%, 54.2%, 0%, 20.4%)
CIE-LABlab(49.26, 41.94, -50.15)
CIE-LCHlch(49.26, 65.37, 309.91°)
OKLaboklab(58.01% 0.087 -0.1415)
OKLCHoklch(58.01% 0.166 301.6)
XYZxyz(25.6759, 17.8031, 58.5720)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DCB #9BCB5D
analogous
#5D64CB #8D5DCB #C45DCB
triadic
#8D5DCB #CB8D5D #5DCB8D
tetradic
#8D5DCB #CB5D64 #9BCB5D #5DCBC4
square
#8D5DCB #CB5D64 #9BCB5D #5DCBC4
split-complementary
#8D5DCB #CBC45D #64CB5D
monochromatic
#512A83 #6E39B2 #8D5DCB #AE8BDA #CEBAE9

Accessibility & contrast

On white

4.60
#8D5DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D5DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5DCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DCB#FFFFFF#000000##FFFFFF
##8D5DCB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#81728B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5dcb;
/* rgb */ color: rgb(141, 93, 203);
/* oklch */ color: oklch(58.0% 0.166 301.6);
Tailwind
colors: {
  custom: {
    50: '#b28cdb',
    500: '#8d5dcb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dcb;
$custom-light: #b28cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dcb",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 266.182,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.16612,
    "h": 301.6
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#8D5DCB
secondary
#C5D8AC
accent
#DB4D9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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