#8D5CCE#8D5CCE

#8D5CCE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.171 H 301.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D5CCE
RGBrgb(141, 92, 206)
HSLhsl(266, 54%, 58%)
HSVhsv(266, 55%, 81%)
CMYKcmyk(31.6%, 55.3%, 0%, 19.2%)
CIE-LABlab(49.22, 43.25, -51.92)
CIE-LCHlch(49.22, 67.57, 309.79°)
OKLaboklab(58.04% 0.0884 -0.1467)
OKLCHoklch(58.04% 0.171 301.1)
XYZxyz(25.9496, 17.7731, 60.4440)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CCE #9DCE5C
analogous
#5C64CE #8D5CCE #C65CCE
triadic
#8D5CCE #CE8D5C #5CCE8D
tetradic
#8D5CCE #CE5C64 #9DCE5C #5CCEC6
square
#8D5CCE #CE5C64 #9DCE5C #5CCEC6
split-complementary
#8D5CCE #CEC65C #64CE5C
monochromatic
#512987 #6D37B6 #8D5CCE #AE8BDC #CFBAEA

Accessibility & contrast

On white

4.61
#8D5CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CCE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CCE#FFFFFF#000000##FFFFFF
##8D5CCE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#80728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5cce;
/* rgb */ color: rgb(141, 92, 206);
/* oklch */ color: oklch(58.0% 0.171 301.1);
Tailwind
colors: {
  custom: {
    50: '#b28cdd',
    500: '#8d5cce',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cce;
$custom-light: #b28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cce",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 265.789,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.17129,
    "h": 301.1
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#8D5CCE
secondary
#C6DAAC
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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