#8D5CC3#8D5CC3

#8D5CC3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.158 H 303.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D5CC3
RGBrgb(141, 92, 195)
HSLhsl(269, 46%, 56%)
HSVhsv(269, 53%, 76%)
CMYKcmyk(27.7%, 52.8%, 0%, 23.5%)
CIE-LABlab(48.58, 40.53, -46.62)
CIE-LCHlch(48.58, 61.77, 311.00°)
OKLaboklab(57.37% 0.0878 -0.1312)
OKLCHoklch(57.37% 0.158 303.8)
XYZxyz(24.6598, 17.2572, 53.6510)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CC3 #92C35C
analogous
#5C5FC3 #8D5CC3 #C15CC3
triadic
#8D5CC3 #C38D5C #5CC38D
tetradic
#8D5CC3 #C35C5F #92C35C #5CC3C1
square
#8D5CC3 #C35C5F #92C35C #5CC3C1
split-complementary
#8D5CC3 #C3C15C #5FC35C
monochromatic
#502C78 #6E3DA5 #8D5CC3 #AC89D3 #CCB5E4

Accessibility & contrast

On white

4.72
#8D5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8D5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5CC3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CC3#FFFFFF#000000##FFFFFF
##8D5CC31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3972C7
Deuteranopia (green-blind)
#4873C0
Tritanopia (blue-blind)
#836F87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5cc3;
/* rgb */ color: rgb(141, 92, 195);
/* oklch */ color: oklch(57.4% 0.158 303.8);
Tailwind
colors: {
  custom: {
    50: '#b18cd6',
    500: '#8d5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cc3;
$custom-light: #b18cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cc3",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 268.544,
    "s": 46.188,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.15789,
    "h": 303.8
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#8D5CC3
secondary
#BED3A8
accent
#D65297
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #8D5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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