#8B6EC5#8B6EC5

#8B6EC5 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.3% C 0.131 H 297.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8B6EC5
RGBrgb(139, 110, 197)
HSLhsl(260, 43%, 60%)
HSVhsv(260, 44%, 77%)
CMYKcmyk(29.4%, 44.2%, 0%, 22.7%)
CIE-LABlab(52.59, 30.17, -41.43)
CIE-LCHlch(52.59, 51.25, 306.07°)
OKLaboklab(60.35% 0.061 -0.1161)
OKLCHoklch(60.35% 0.131 297.7)
XYZxyz(26.2990, 20.6718, 55.4170)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6EC5 #A8C56E
analogous
#6E7CC5 #8B6EC5 #B66EC5
triadic
#8B6EC5 #C58B6E #6EC58B
tetradic
#8B6EC5 #C56E7C #A8C56E #6EC5B6
square
#8B6EC5 #C56E7C #A8C56E #6EC5B6
split-complementary
#8B6EC5 #C5B66E #7CC56E
monochromatic
#4F3584 #6946B0 #8B6EC5 #AE9AD6 #D1C5E8

Accessibility & contrast

On white

4.09
#8B6EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#8B6EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6EC5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6EC5#FFFFFF#000000##000000
##8B6EC51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547EC8
Deuteranopia (green-blind)
#5A7DC3
Tritanopia (blue-blind)
#7F7E90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b6ec5;
/* rgb */ color: rgb(139, 110, 197);
/* oklch */ color: oklch(60.3% 0.131 297.7);
Tailwind
colors: {
  custom: {
    50: '#af98d7',
    500: '#8b6ec5',
    950: '#000000',
  },
}
SCSS
$custom: #8b6ec5;
$custom-light: #af98d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6ec5",
  "rgb": {
    "r": 139,
    "g": 110,
    "b": 197
  },
  "hsl": {
    "h": 260,
    "s": 42.857,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.13119,
    "h": 297.7
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#8B6EC5
secondary
#CDD8B7
accent
#B63089
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8B6EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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