#8D5CD9#8D5CD9

#8D5CD9 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.185 H 298.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD9
RGBrgb(141, 92, 217)
HSLhsl(264, 62%, 61%)
HSVhsv(264, 58%, 85%)
CMYKcmyk(35%, 57.6%, 0%, 14.9%)
CIE-LABlab(49.89, 46.02, -57.12)
CIE-LCHlch(49.89, 73.36, 308.86°)
OKLaboklab(58.75% 0.0885 -0.162)
OKLCHoklch(58.75% 0.185 298.7)
XYZxyz(27.3329, 18.3265, 67.7295)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD9 #A8D95C
analogous
#5C69D9 #8D5CD9 #CB5CD9
triadic
#8D5CD9 #D98D5C #5CD98D
tetradic
#8D5CD9 #D95C69 #A8D95C #5CD9CB
square
#8D5CD9 #D95C69 #A8D95C #5CD9CB
split-complementary
#8D5CD9 #D9CB5C #69D95C
monochromatic
#512397 #6B2FC9 #8D5CD9 #B08EE5 #D2BFF0

Accessibility & contrast

On white

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

On black

4.67
#8D5CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD9#FFFFFF#000000##000000
##8D5CD91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B77DD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#7C7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5cd9;
/* rgb */ color: rgb(141, 92, 217);
/* oklch */ color: oklch(58.7% 0.185 298.7);
Tailwind
colors: {
  custom: {
    50: '#b38ce5',
    500: '#8d5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd9;
$custom-light: #b38ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd9",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 263.52,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.1846,
    "h": 298.7
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#8D5CD9
secondary
#CEE0B1
accent
#CA1C86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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