#8B6BDD#8B6BDD

#8B6BDD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.2% C 0.167 H 293.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B6BDD
RGBrgb(139, 107, 221)
HSLhsl(257, 63%, 64%)
HSVhsv(257, 52%, 87%)
CMYKcmyk(37.1%, 51.6%, 0%, 13.3%)
CIE-LABlab(53.19, 38.17, -54.10)
CIE-LCHlch(53.19, 66.21, 305.21°)
OKLaboklab(61.22% 0.0676 -0.1532)
OKLCHoklch(61.22% 0.167 293.8)
XYZxyz(28.9529, 21.2242, 70.9638)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6BDD #BDDD6B
analogous
#6B84DD #8B6BDD #C46BDD
triadic
#8B6BDD #DD8B6B #6BDD8B
tetradic
#8B6BDD #DD6B84 #BDDD6B #6BDDC4
square
#8B6BDD #DD6B84 #BDDD6B #6BDDC4
split-complementary
#8B6BDD #DDC46B #84DD6B
monochromatic
#4B26A7 #6439D2 #8B6BDD #B29DE8 #D9CFF4

Accessibility & contrast

On white

4.00
#8B6BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8B6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6BDD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6BDD#FFFFFF#000000##000000
##8B6BDD1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#437DDA
Tritanopia (blue-blind)
#77829A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8b6bdd;
/* rgb */ color: rgb(139, 107, 221);
/* oklch */ color: oklch(61.2% 0.167 293.8);
Tailwind
colors: {
  custom: {
    50: '#b196e8',
    500: '#8b6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b6bdd;
$custom-light: #b196e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6bdd",
  "rgb": {
    "r": 139,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 256.842,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61221,
    "c": 0.16744,
    "h": 293.8
  },
  "luminance": 0.21225
}

Semantic roles & 50–950 ramp

primary
#8B6BDD
secondary
#DBE6BE
accent
#CA1B99
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8B6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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