#8B6CC2#8B6CC2

#8B6CC2 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 59.8% C 0.130 H 299.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8B6CC2
RGBrgb(139, 108, 194)
HSLhsl(262, 41%, 59%)
HSVhsv(262, 44%, 76%)
CMYKcmyk(28.4%, 44.3%, 0%, 23.9%)
CIE-LABlab(51.96, 30.58, -40.70)
CIE-LCHlch(51.96, 50.91, 306.92°)
OKLaboklab(59.82% 0.0633 -0.114)
OKLCHoklch(59.82% 0.13 299)
XYZxyz(25.7454, 20.1090, 53.5535)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6CC2 #A3C26C
analogous
#6C78C2 #8B6CC2 #B66CC2
triadic
#8B6CC2 #C28B6C #6CC28B
tetradic
#8B6CC2 #C26C78 #A3C26C #6CC2B6
square
#8B6CC2 #C26C78 #A3C26C #6CC2B6
split-complementary
#8B6CC2 #C2B66C #78C26C
monochromatic
#4F357F #6B47AA #8B6CC2 #AD97D4 #CFC3E6

Accessibility & contrast

On white

4.18
#8B6CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8B6CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6CC2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6CC2#FFFFFF#000000##000000
##8B6CC21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#597BC0
Tritanopia (blue-blind)
#807B8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b6cc2;
/* rgb */ color: rgb(139, 108, 194);
/* oklch */ color: oklch(59.8% 0.130 299.0);
Tailwind
colors: {
  custom: {
    50: '#af96d5',
    500: '#8b6cc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b6cc2;
$custom-light: #af96d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6cc2",
  "rgb": {
    "r": 139,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 261.628,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59822,
    "c": 0.13042,
    "h": 299
  },
  "luminance": 0.20109
}

Semantic roles & 50–950 ramp

primary
#8B6CC2
secondary
#CAD6B4
accent
#D157A5
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #8B6CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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