#8D5CC8#8D5CC8

#8D5CC8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.164 H 302.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC8
RGBrgb(141, 92, 200)
HSLhsl(267, 50%, 57%)
HSVhsv(267, 54%, 78%)
CMYKcmyk(29.5%, 54%, 0%, 21.6%)
CIE-LABlab(48.87, 41.75, -49.04)
CIE-LCHlch(48.87, 64.41, 310.41°)
OKLaboklab(57.67% 0.0881 -0.1383)
OKLCHoklch(57.67% 0.164 302.5)
XYZxyz(25.2346, 17.4871, 56.6783)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC8 #97C85C
analogous
#5C61C8 #8D5CC8 #C35CC8
triadic
#8D5CC8 #C88D5C #5CC88D
tetradic
#8D5CC8 #C85C61 #97C85C #5CC8C3
square
#8D5CC8 #C85C61 #97C85C #5CC8C3
split-complementary
#8D5CC8 #C8C35C #61C85C
monochromatic
#512B7F #6E3AAD #8D5CC8 #AD8AD7 #CDB8E7

Accessibility & contrast

On white

4.67
#8D5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8D5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC8#FFFFFF#000000##FFFFFF
##8D5CC81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3473CC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#827189
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5cc8;
/* rgb */ color: rgb(141, 92, 200);
/* oklch */ color: oklch(57.7% 0.164 302.5);
Tailwind
colors: {
  custom: {
    50: '#b18cd9',
    500: '#8d5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc8;
$custom-light: #b18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc8",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 267.222,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.16399,
    "h": 302.5
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#8D5CC8
secondary
#C2D6AA
accent
#D94F9A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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