#8D5BDC#8D5BDC

#8D5BDC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.190 H 298.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8D5BDC
RGBrgb(141, 91, 220)
HSLhsl(263, 65%, 61%)
HSVhsv(263, 59%, 86%)
CMYKcmyk(35.9%, 58.6%, 0%, 13.7%)
CIE-LABlab(49.87, 47.33, -58.86)
CIE-LCHlch(49.87, 75.53, 308.81°)
OKLaboklab(58.8% 0.0897 -0.1671)
OKLCHoklch(58.8% 0.19 298.2)
XYZxyz(27.6406, 18.3119, 69.7746)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BDC #AADC5B
analogous
#5B69DC #8D5BDC #CD5BDC
triadic
#8D5BDC #DC8D5B #5BDC8D
tetradic
#8D5BDC #DC5B69 #AADC5B #5BDCCD
square
#8D5BDC #DC5B69 #AADC5B #5BDCCD
split-complementary
#8D5BDC #DCCD5B #69DC5B
monochromatic
#51219B #6B2CCE #8D5BDC #B08DE7 #D3C0F2

Accessibility & contrast

On white

4.50
#8D5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8D5BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BDC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BDC#FFFFFF#000000##000000
##8D5BDC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D77E0
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#7B7693
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5bdc;
/* rgb */ color: rgb(141, 91, 220);
/* oklch */ color: oklch(58.8% 0.190 298.2);
Tailwind
colors: {
  custom: {
    50: '#b38be8',
    500: '#8d5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bdc;
$custom-light: #b38be8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bdc",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 263.256,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58797,
    "c": 0.18963,
    "h": 298.2
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#8D5BDC
secondary
#CFE2B1
accent
#CD1987
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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