#8D6BD6#8D6BD6

#8D6BD6 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.0% C 0.159 H 296.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8D6BD6
RGBrgb(141, 107, 214)
HSLhsl(259, 57%, 63%)
HSVhsv(259, 50%, 84%)
CMYKcmyk(34.1%, 50%, 0%, 16.1%)
CIE-LABlab(52.99, 36.83, -50.47)
CIE-LCHlch(52.99, 62.48, 306.12°)
OKLaboklab(60.98% 0.0696 -0.1425)
OKLCHoklch(60.98% 0.159 296)
XYZxyz(28.3767, 21.0327, 66.1700)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6BD6 #B4D66B
analogous
#6B7ED6 #8D6BD6 #C26BD6
triadic
#8D6BD6 #D68D6B #6BD68D
tetradic
#8D6BD6 #D66B7E #B4D66B #6BD6C2
square
#8D6BD6 #D66B7E #B4D66B #6BD6C2
split-complementary
#8D6BD6 #D6C26B #7ED66B
monochromatic
#4F2B9C #683BC9 #8D6BD6 #B29BE3 #D7CBF1

Accessibility & contrast

On white

4.03
#8D6BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8D6BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6BD6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6BD6#FFFFFF#000000##000000
##8D6BD61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447FDA
Deuteranopia (green-blind)
#4B7DD3
Tritanopia (blue-blind)
#7C8097
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d6bd6;
/* rgb */ color: rgb(141, 107, 214);
/* oklch */ color: oklch(61.0% 0.159 296.0);
Tailwind
colors: {
  custom: {
    50: '#b296e3',
    500: '#8d6bd6',
    950: '#000000',
  },
}
SCSS
$custom: #8d6bd6;
$custom-light: #b296e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6bd6",
  "rgb": {
    "r": 141,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 259.065,
    "s": 56.614,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.15855,
    "h": 296
  },
  "luminance": 0.21033
}

Semantic roles & 50–950 ramp

primary
#8D6BD6
secondary
#D5E2BB
accent
#C42190
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #8D6BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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