#8D5CCF#8D5CCF

#8D5CCF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.173 H 300.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8D5CCF
RGBrgb(141, 92, 207)
HSLhsl(266, 55%, 59%)
HSVhsv(266, 56%, 81%)
CMYKcmyk(31.9%, 55.6%, 0%, 18.8%)
CIE-LABlab(49.28, 43.50, -52.40)
CIE-LCHlch(49.28, 68.10, 309.69°)
OKLaboklab(58.11% 0.0884 -0.1481)
OKLCHoklch(58.11% 0.173 300.8)
XYZxyz(26.0715, 17.8219, 61.0858)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CCF #9ECF5C
analogous
#5C64CF #8D5CCF #C65CCF
triadic
#8D5CCF #CF8D5C #5CCF8D
tetradic
#8D5CCF #CF5C64 #9ECF5C #5CCFC6
square
#8D5CCF #CF5C64 #9ECF5C #5CCFC6
split-complementary
#8D5CCF #CFC65C #64CF5C
monochromatic
#512888 #6D36B8 #8D5CCF #AE8BDD #CFBBEB

Accessibility & contrast

On white

4.60
#8D5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CCF#FFFFFF#000000##FFFFFF
##8D5CCF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#80738D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5ccf;
/* rgb */ color: rgb(141, 92, 207);
/* oklch */ color: oklch(58.1% 0.173 300.8);
Tailwind
colors: {
  custom: {
    50: '#b28cde',
    500: '#8d5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ccf;
$custom-light: #b28cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ccf",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 265.565,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58105,
    "c": 0.17251,
    "h": 300.8
  },
  "luminance": 0.17822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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