#8D5DC8#8D5DC8

#8D5DC8 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.162 H 302.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8D5DC8
RGBrgb(141, 93, 200)
HSLhsl(267, 49%, 57%)
HSVhsv(267, 54%, 78%)
CMYKcmyk(29.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(49.08, 41.20, -48.70)
CIE-LCHlch(49.08, 63.79, 310.23°)
OKLaboklab(57.83% 0.0868 -0.1373)
OKLCHoklch(57.83% 0.162 302.3)
XYZxyz(25.3218, 17.6615, 56.7074)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DC8 #98C85D
analogous
#5D62C8 #8D5DC8 #C35DC8
triadic
#8D5DC8 #C88D5D #5DC88D
tetradic
#8D5DC8 #C85D62 #98C85D #5DC8C3
square
#8D5DC8 #C85D62 #98C85D #5DC8C3
split-complementary
#8D5DC8 #C8C35D #62C85D
monochromatic
#512B7F #6E3BAD #8D5DC8 #AD8BD8 #CDB8E7

Accessibility & contrast

On white

4.63
#8D5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8D5DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5DC8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DC8#FFFFFF#000000##FFFFFF
##8D5DC81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4674C5
Tritanopia (blue-blind)
#82718A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5dc8;
/* rgb */ color: rgb(141, 93, 200);
/* oklch */ color: oklch(57.8% 0.162 302.3);
Tailwind
colors: {
  custom: {
    50: '#b18cd9',
    500: '#8d5dc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dc8;
$custom-light: #b18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dc8",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 266.916,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.16245,
    "h": 302.3
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#8D5DC8
secondary
#C3D6AB
accent
#D94F9B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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