#8D5CD7#8D5CD7

#8D5CD7 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.182 H 299.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D5CD7
RGBrgb(141, 92, 215)
HSLhsl(264, 61%, 60%)
HSVhsv(264, 57%, 84%)
CMYKcmyk(34.4%, 57.2%, 0%, 15.7%)
CIE-LABlab(49.77, 45.51, -56.19)
CIE-LCHlch(49.77, 72.31, 309.01°)
OKLaboklab(58.62% 0.0885 -0.1592)
OKLCHoklch(58.62% 0.182 299.1)
XYZxyz(27.0744, 18.2230, 66.3678)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CD7 #A6D75C
analogous
#5C69D7 #8D5CD7 #CA5CD7
triadic
#8D5CD7 #D78D5C #5CD78D
tetradic
#8D5CD7 #D75C69 #A6D75C #5CD7CA
square
#8D5CD7 #D75C69 #A6D75C #5CD7CA
split-complementary
#8D5CD7 #D7CA5C #69D75C
monochromatic
#512494 #6C30C5 #8D5CD7 #AF8DE3 #D2BEEF

Accessibility & contrast

On white

4.52
#8D5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8D5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CD7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CD7#FFFFFF#000000##000000
##8D5CD71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#7D7591
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d5cd7;
/* rgb */ color: rgb(141, 92, 215);
/* oklch */ color: oklch(58.6% 0.182 299.1);
Tailwind
colors: {
  custom: {
    50: '#b28ce4',
    500: '#8d5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cd7;
$custom-light: #b28ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cd7",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 263.902,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.18219,
    "h": 299.1
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

primary
#8D5CD7
secondary
#CCDFB0
accent
#C81D84
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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