#8D6CDA#8D6CDA

#8D6CDA is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.4% C 0.162 H 295.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8D6CDA
RGBrgb(141, 108, 218)
HSLhsl(258, 60%, 64%)
HSVhsv(258, 50%, 85%)
CMYKcmyk(35.3%, 50.5%, 0%, 14.5%)
CIE-LABlab(53.44, 37.30, -52.01)
CIE-LCHlch(53.44, 64.00, 305.65°)
OKLaboklab(61.39% 0.0686 -0.147)
OKLCHoklch(61.39% 0.162 295)
XYZxyz(28.9987, 21.4493, 68.9284)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6CDA #B9DA6C
analogous
#6C82DA #8D6CDA #C46CDA
triadic
#8D6CDA #DA8D6C #6CDA8D
tetradic
#8D6CDA #DA6C82 #B9DA6C #6CDAC4
square
#8D6CDA #DA6C82 #B9DA6C #6CDAC4
split-complementary
#8D6CDA #DAC46C #82DA6C
monochromatic
#4D29A3 #673BCE #8D6CDA #B39DE6 #D9CEF3

Accessibility & contrast

On white

3.97
#8D6CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8D6CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6CDA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6CDA#FFFFFF#000000##000000
##8D6CDA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DE
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#7B8299
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d6cda;
/* rgb */ color: rgb(141, 108, 218);
/* oklch */ color: oklch(61.4% 0.162 295.0);
Tailwind
colors: {
  custom: {
    50: '#b297e6',
    500: '#8d6cda',
    950: '#000000',
  },
}
SCSS
$custom: #8d6cda;
$custom-light: #b297e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6cda",
  "rgb": {
    "r": 141,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 258,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61392,
    "c": 0.16222,
    "h": 295
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

primary
#8D6CDA
secondary
#D9E4BE
accent
#C71E95
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8D6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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