#8B6DB2#8B6DB2

#8B6DB2 is a mid, moderate violet. Relative luminance 0.196; OKLCH L 59.2% C 0.107 H 303.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8B6DB2
RGBrgb(139, 109, 178)
HSLhsl(266, 31%, 56%)
HSVhsv(266, 39%, 70%)
CMYKcmyk(21.9%, 38.8%, 0%, 30.2%)
CIE-LABlab(51.43, 26.05, -32.31)
CIE-LCHlch(51.43, 41.50, 308.88°)
OKLaboklab(59.17% 0.0589 -0.0897)
OKLCHoklch(59.17% 0.107 303.3)
XYZxyz(24.1503, 19.6406, 44.6296)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6DB2 #94B26D
analogous
#6D72B2 #8B6DB2 #AE6DB2
triadic
#8B6DB2 #B28B6D #6DB28B
tetradic
#8B6DB2 #B26D72 #94B26D #6DB2AE
square
#8B6DB2 #B26D72 #94B26D #6DB2AE
split-complementary
#8B6DB2 #B2AE6D #72B26D
monochromatic
#4F396C #6C4E94 #8B6DB2 #AB95C7 #CBBDDC

Accessibility & contrast

On white

4.26
#8B6DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8B6DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6DB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6DB2#FFFFFF#000000##000000
##8B6DB21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#637AB0
Tritanopia (blue-blind)
#857887
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b6db2;
/* rgb */ color: rgb(139, 109, 178);
/* oklch */ color: oklch(59.2% 0.107 303.3);
Tailwind
colors: {
  custom: {
    50: '#ae97c9',
    500: '#8b6db2',
    950: '#000000',
  },
}
SCSS
$custom: #8b6db2;
$custom-light: #ae97c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6db2",
  "rgb": {
    "r": 139,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 266.087,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59168,
    "c": 0.10732,
    "h": 303.3
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#8B6DB2
secondary
#BFCCAF
accent
#C7619B
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8B6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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