#8D5DD9#8D5DD9

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

Color values

HEX#8D5DD9
RGBrgb(141, 93, 217)
HSLhsl(263, 62%, 61%)
HSVhsv(263, 57%, 85%)
CMYKcmyk(35%, 57.1%, 0%, 14.9%)
CIE-LABlab(50.10, 45.47, -56.79)
CIE-LCHlch(50.10, 72.75, 308.69°)
OKLaboklab(58.9% 0.0873 -0.161)
OKLCHoklch(58.9% 0.183 298.5)
XYZxyz(27.4201, 18.5009, 67.7586)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DD9 #A9D95D
analogous
#5D6BD9 #8D5DD9 #CB5DD9
triadic
#8D5DD9 #D98D5D #5DD98D
tetradic
#8D5DD9 #D95D6B #A9D95D #5DD9CB
square
#8D5DD9 #D95D6B #A9D95D #5DD9CB
split-complementary
#8D5DD9 #D9CB5D #6BD95D
monochromatic
#512498 #6B2FCA #8D5DD9 #B08FE5 #D3C0F0

Accessibility & contrast

On white

4.47
#8D5DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8D5DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DD9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DD9#FFFFFF#000000##000000
##8D5DD91.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#7C7792
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5dd9;
/* rgb */ color: rgb(141, 93, 217);
/* oklch */ color: oklch(58.9% 0.183 298.5);
Tailwind
colors: {
  custom: {
    50: '#b38de5',
    500: '#8d5dd9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dd9;
$custom-light: #b38de5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dd9",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 263.226,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.18316,
    "h": 298.5
  },
  "luminance": 0.18501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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