#8D6FD5#8D6FD5

#8D6FD5 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.151 H 295.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8D6FD5
RGBrgb(141, 111, 213)
HSLhsl(258, 55%, 64%)
HSVhsv(258, 48%, 84%)
CMYKcmyk(33.8%, 47.9%, 0%, 16.5%)
CIE-LABlab(53.85, 34.26, -48.52)
CIE-LCHlch(53.85, 59.40, 305.23°)
OKLaboklab(61.61% 0.0642 -0.1368)
OKLCHoklch(61.61% 0.151 295.2)
XYZxyz(28.6761, 21.8352, 65.6417)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6FD5 #B7D56F
analogous
#6F84D5 #8D6FD5 #C06FD5
triadic
#8D6FD5 #D58D6F #6FD58D
tetradic
#8D6FD5 #D56F84 #B7D56F #6FD5C0
square
#8D6FD5 #D56F84 #B7D56F #6FD5C0
split-complementary
#8D6FD5 #D5C06F #84D56F
monochromatic
#4E2E9C #6740C7 #8D6FD5 #B39EE3 #D8CEF1

Accessibility & contrast

On white

3.91
#8D6FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8D6FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6FD5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6FD5#FFFFFF#000000##000000
##8D6FD51.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#7C8398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d6fd5;
/* rgb */ color: rgb(141, 111, 213);
/* oklch */ color: oklch(61.6% 0.151 295.2);
Tailwind
colors: {
  custom: {
    50: '#b199e2',
    500: '#8d6fd5',
    950: '#000000',
  },
}
SCSS
$custom: #8d6fd5;
$custom-light: #b199e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6fd5",
  "rgb": {
    "r": 141,
    "g": 111,
    "b": 213
  },
  "hsl": {
    "h": 257.647,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61611,
    "c": 0.15111,
    "h": 295.2
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#8D6FD5
secondary
#D7E2BE
accent
#C22394
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8D6FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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