#8D5CDC#8D5CDC

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

Color values

HEX#8D5CDC
RGBrgb(141, 92, 220)
HSLhsl(263, 65%, 61%)
HSVhsv(263, 58%, 86%)
CMYKcmyk(35.9%, 58.2%, 0%, 13.7%)
CIE-LABlab(50.08, 46.79, -58.52)
CIE-LCHlch(50.08, 74.93, 308.64°)
OKLaboklab(58.95% 0.0885 -0.1661)
OKLCHoklch(58.95% 0.188 298)
XYZxyz(27.7267, 18.4840, 69.8032)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CDC #ABDC5C
analogous
#5C6BDC #8D5CDC #CD5CDC
triadic
#8D5CDC #DC8D5C #5CDC8D
tetradic
#8D5CDC #DC5C6B #ABDC5C #5CDCCD
square
#8D5CDC #DC5C6B #ABDC5C #5CDCCD
split-complementary
#8D5CDC #DCCD5C #6BDC5C
monochromatic
#50229C #6A2CCE #8D5CDC #B08EE7 #D3C1F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CDC#FFFFFF#000000##000000
##8D5CDC1.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)
#1377E0
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#7B7793
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5cdc;
/* rgb */ color: rgb(141, 92, 220);
/* oklch */ color: oklch(58.9% 0.188 298.0);
Tailwind
colors: {
  custom: {
    50: '#b38ce8',
    500: '#8d5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cdc;
$custom-light: #b38ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cdc",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 262.969,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.18821,
    "h": 298
  },
  "luminance": 0.18484
}

Semantic roles & 50–950 ramp

primary
#8D5CDC
secondary
#D0E2B2
accent
#CC1988
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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