#8D5BD9#8D5BD9

#8D5BD9 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.186 H 298.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D5BD9
RGBrgb(141, 91, 217)
HSLhsl(264, 62%, 60%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(35%, 58.1%, 0%, 14.9%)
CIE-LABlab(49.68, 46.57, -57.46)
CIE-LCHlch(49.68, 73.96, 309.02°)
OKLaboklab(58.6% 0.0897 -0.163)
OKLCHoklch(58.6% 0.186 298.8)
XYZxyz(27.2469, 18.1544, 67.7008)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BD9 #A7D95B
analogous
#5B68D9 #8D5BD9 #CC5BD9
triadic
#8D5BD9 #D98D5B #5BD98D
tetradic
#8D5BD9 #D95B68 #A7D95B #5BD9CC
square
#8D5BD9 #D95B68 #A7D95B #5BD9CC
split-complementary
#8D5BD9 #D9CC5B #68D95B
monochromatic
#512397 #6C2EC8 #8D5BD9 #B08DE5 #D2BEF0

Accessibility & contrast

On white

4.53
#8D5BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8D5BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BD9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BD9#FFFFFF#000000##000000
##8D5BD91.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1776DD
Deuteranopia (green-blind)
#3075D6
Tritanopia (blue-blind)
#7C7591
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5bd9;
/* rgb */ color: rgb(141, 91, 217);
/* oklch */ color: oklch(58.6% 0.186 298.8);
Tailwind
colors: {
  custom: {
    50: '#b38be5',
    500: '#8d5bd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bd9;
$custom-light: #b38be5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bd9",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 263.81,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.18604,
    "h": 298.8
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#8D5BD9
secondary
#CDE0B0
accent
#CA1B85
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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