#8D5CDA#8D5CDA

#8D5CDA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.186 H 298.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D5CDA
RGBrgb(141, 92, 218)
HSLhsl(263, 63%, 61%)
HSVhsv(263, 58%, 85%)
CMYKcmyk(35.3%, 57.8%, 0%, 14.5%)
CIE-LABlab(49.95, 46.28, -57.59)
CIE-LCHlch(49.95, 73.88, 308.78°)
OKLaboklab(58.82% 0.0885 -0.1634)
OKLCHoklch(58.82% 0.186 298.4)
XYZxyz(27.4634, 18.3786, 68.4166)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CDA #A9DA5C
analogous
#5C6ADA #8D5CDA #CC5CDA
triadic
#8D5CDA #DA8D5C #5CDA8D
tetradic
#8D5CDA #DA5C6A #A9DA5C #5CDACC
square
#8D5CDA #DA5C6A #A9DA5C #5CDACC
split-complementary
#8D5CDA #DACC5C #6ADA5C
monochromatic
#512399 #6B2ECB #8D5CDA #B08EE5 #D3C0F1

Accessibility & contrast

On white

4.49
#8D5CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8D5CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CDA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CDA#FFFFFF#000000##000000
##8D5CDA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1977DE
Deuteranopia (green-blind)
#3076D7
Tritanopia (blue-blind)
#7C7692
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5cda;
/* rgb */ color: rgb(141, 92, 218);
/* oklch */ color: oklch(58.8% 0.186 298.4);
Tailwind
colors: {
  custom: {
    50: '#b38ce6',
    500: '#8d5cda',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cda;
$custom-light: #b38ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cda",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 218
  },
  "hsl": {
    "h": 263.333,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58815,
    "c": 0.18581,
    "h": 298.4
  },
  "luminance": 0.18379
}

Semantic roles & 50–950 ramp

primary
#8D5CDA
secondary
#CEE1B1
accent
#CB1B86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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