#8B6CC7#8B6CC7

#8B6CC7 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.1% C 0.137 H 297.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8B6CC7
RGBrgb(139, 108, 199)
HSLhsl(260, 45%, 60%)
HSVhsv(260, 46%, 78%)
CMYKcmyk(30.2%, 45.7%, 0%, 22%)
CIE-LABlab(52.22, 31.85, -43.16)
CIE-LCHlch(52.22, 53.64, 306.43°)
OKLaboklab(60.1% 0.0641 -0.1212)
OKLCHoklch(60.1% 0.137 297.9)
XYZxyz(26.3164, 20.3374, 56.5608)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6CC7 #A8C76C
analogous
#6C7AC7 #8B6CC7 #B96CC7
triadic
#8B6CC7 #C78B6C #6CC78B
tetradic
#8B6CC7 #C76C7A #A8C76C #6CC7B9
square
#8B6CC7 #C76C7A #A8C76C #6CC7B9
split-complementary
#8B6CC7 #C7B96C #7AC76C
monochromatic
#4F3386 #6944B2 #8B6CC7 #AE98D8 #D1C5E9

Accessibility & contrast

On white

4.14
#8B6CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8B6CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6CC7
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6CC7#FFFFFF#000000##000000
##8B6CC71.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCA
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#7F7D90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b6cc7;
/* rgb */ color: rgb(139, 108, 199);
/* oklch */ color: oklch(60.1% 0.137 297.9);
Tailwind
colors: {
  custom: {
    50: '#af96d8',
    500: '#8b6cc7',
    950: '#000000',
  },
}
SCSS
$custom: #8b6cc7;
$custom-light: #af96d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6cc7",
  "rgb": {
    "r": 139,
    "g": 108,
    "b": 199
  },
  "hsl": {
    "h": 260.44,
    "s": 44.828,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60098,
    "c": 0.13707,
    "h": 297.9
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#8B6CC7
secondary
#CDD9B6
accent
#B82E89
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8B6CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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