#8B6DB7#8B6DB7

#8B6DB7 is a mid, moderate violet. Relative luminance 0.198; OKLCH L 59.4% C 0.114 H 301.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8B6DB7
RGBrgb(139, 109, 183)
HSLhsl(264, 34%, 57%)
HSVhsv(264, 40%, 72%)
CMYKcmyk(24%, 40.4%, 0%, 28.2%)
CIE-LABlab(51.66, 27.26, -34.84)
CIE-LCHlch(51.66, 44.24, 308.05°)
OKLaboklab(59.42% 0.06 -0.097)
OKLCHoklch(59.42% 0.114 301.7)
XYZxyz(24.6615, 19.8451, 47.3218)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6DB7 #99B76D
analogous
#6D74B7 #8B6DB7 #B06DB7
triadic
#8B6DB7 #B78B6D #6DB78B
tetradic
#8B6DB7 #B76D74 #99B76D #6DB7B0
square
#8B6DB7 #B76D74 #99B76D #6DB7B0
split-complementary
#8B6DB7 #B7B06D #74B76D
monochromatic
#4F3872 #6C4C9B #8B6DB7 #AC96CB #CCBFDF

Accessibility & contrast

On white

4.23
#8B6DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8B6DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6DB7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6DB7#FFFFFF#000000##000000
##8B6DB71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBA
Deuteranopia (green-blind)
#617BB5
Tritanopia (blue-blind)
#837989
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b6db7;
/* rgb */ color: rgb(139, 109, 183);
/* oklch */ color: oklch(59.4% 0.114 301.7);
Tailwind
colors: {
  custom: {
    50: '#ae97cd',
    500: '#8b6db7',
    950: '#000000',
  },
}
SCSS
$custom: #8b6db7;
$custom-light: #ae97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6db7",
  "rgb": {
    "r": 139,
    "g": 109,
    "b": 183
  },
  "hsl": {
    "h": 264.324,
    "s": 33.945,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59421,
    "c": 0.11404,
    "h": 301.7
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#8B6DB7
secondary
#C3CFB1
accent
#CA5E9E
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8B6DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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