#8D5CC7#8D5CC7

#8D5CC7 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.163 H 302.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC7
RGBrgb(141, 92, 199)
HSLhsl(267, 49%, 57%)
HSVhsv(267, 54%, 78%)
CMYKcmyk(29.1%, 53.8%, 0%, 22%)
CIE-LABlab(48.81, 41.51, -48.56)
CIE-LCHlch(48.81, 63.88, 310.52°)
OKLaboklab(57.61% 0.0881 -0.1369)
OKLCHoklch(57.61% 0.163 302.8)
XYZxyz(25.1181, 17.4405, 56.0648)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC7 #96C75C
analogous
#5C61C7 #8D5CC7 #C35CC7
triadic
#8D5CC7 #C78D5C #5CC78D
tetradic
#8D5CC7 #C75C61 #96C75C #5CC7C3
square
#8D5CC7 #C75C61 #96C75C #5CC7C3
split-complementary
#8D5CC7 #C7C35C #61C75C
monochromatic
#512B7D #6E3BAB #8D5CC7 #AD8AD7 #CDB7E6

Accessibility & contrast

On white

4.68
#8D5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8D5CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC7#FFFFFF#000000##FFFFFF
##8D5CC71.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3573CB
Deuteranopia (green-blind)
#4574C4
Tritanopia (blue-blind)
#827089
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5cc7;
/* rgb */ color: rgb(141, 92, 199);
/* oklch */ color: oklch(57.6% 0.163 302.8);
Tailwind
colors: {
  custom: {
    50: '#b18cd8',
    500: '#8d5cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc7;
$custom-light: #b18cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc7",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 267.477,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.16277,
    "h": 302.8
  },
  "luminance": 0.17441
}

Semantic roles & 50–950 ramp

primary
#8D5CC7
secondary
#C1D5AA
accent
#D84F9A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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