#8D5CDF#8D5CDF

#8D5CDF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.192 H 297.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8D5CDF
RGBrgb(141, 92, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 59%, 87%)
CMYKcmyk(36.8%, 58.7%, 0%, 12.5%)
CIE-LABlab(50.27, 47.56, -59.92)
CIE-LCHlch(50.27, 76.50, 308.44°)
OKLaboklab(59.15% 0.0884 -0.1702)
OKLCHoklch(59.15% 0.192 297.5)
XYZxyz(28.1276, 18.6443, 71.9145)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CDF #AEDF5C
analogous
#5C6DDF #8D5CDF #CF5CDF
triadic
#8D5CDF #DF8D5C #5CDF8D
tetradic
#8D5CDF #DF5C6D #AEDF5C #5CDFCF
square
#8D5CDF #DF5C6D #AEDF5C #5CDFCF
split-complementary
#8D5CDF #DFCF5C #6DDF5C
monochromatic
#5020A1 #692AD4 #8D5CDF #B18FE9 #D5C2F3

Accessibility & contrast

On white

4.44
#8D5CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8D5CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CDF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CDF#FFFFFF#000000##000000
##8D5CDF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0778E3
Deuteranopia (green-blind)
#2976DC
Tritanopia (blue-blind)
#7A7895
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5cdf;
/* rgb */ color: rgb(141, 92, 223);
/* oklch */ color: oklch(59.1% 0.192 297.5);
Tailwind
colors: {
  custom: {
    50: '#b38cea',
    500: '#8d5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cdf;
$custom-light: #b38cea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cdf",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 262.443,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.19181,
    "h": 297.5
  },
  "luminance": 0.18645
}

Semantic roles & 50–950 ramp

primary
#8D5CDF
secondary
#D2E4B3
accent
#CF168A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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