#8D5DCF#8D5DCF

#8D5DCF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.171 H 300.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5DCF
RGBrgb(141, 93, 207)
HSLhsl(265, 54%, 59%)
HSVhsv(265, 55%, 81%)
CMYKcmyk(31.9%, 55.1%, 0%, 18.8%)
CIE-LABlab(49.49, 42.94, -52.06)
CIE-LCHlch(49.49, 67.49, 309.52°)
OKLaboklab(58.26% 0.0871 -0.1471)
OKLCHoklch(58.26% 0.171 300.6)
XYZxyz(26.1587, 17.9963, 61.1149)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DCF #9FCF5D
analogous
#5D66CF #8D5DCF #C65DCF
triadic
#8D5DCF #CF8D5D #5DCF8D
tetradic
#8D5DCF #CF5D66 #9FCF5D #5DCFC6
square
#8D5DCF #CF5D66 #9FCF5D #5DCFC6
split-complementary
#8D5DCF #CFC65D #66CF5D
monochromatic
#512989 #6D37B8 #8D5DCF #AE8CDD #CFBBEB

Accessibility & contrast

On white

4.57
#8D5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8D5DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5DCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5DCF#FFFFFF#000000##000000
##8D5DCF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#80748D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5dcf;
/* rgb */ color: rgb(141, 93, 207);
/* oklch */ color: oklch(58.3% 0.171 300.6);
Tailwind
colors: {
  custom: {
    50: '#b28cde',
    500: '#8d5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dcf;
$custom-light: #b28cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dcf",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 265.263,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58261,
    "c": 0.17101,
    "h": 300.6
  },
  "luminance": 0.17996
}

Semantic roles & 50–950 ramp

primary
#8D5DCF
secondary
#C7DAAD
accent
#DE4AA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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