#8B6DB3#8B6DB3

#8B6DB3 is a mid, moderate violet. Relative luminance 0.197; OKLCH L 59.2% C 0.109 H 303.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B6DB3
RGBrgb(139, 109, 179)
HSLhsl(266, 32%, 56%)
HSVhsv(266, 39%, 70%)
CMYKcmyk(22.3%, 39.1%, 0%, 29.8%)
CIE-LABlab(51.47, 26.29, -32.82)
CIE-LCHlch(51.47, 42.05, 308.70°)
OKLaboklab(59.22% 0.0591 -0.0912)
OKLCHoklch(59.22% 0.109 303)
XYZxyz(24.2511, 19.6809, 45.1603)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6DB3 #95B36D
analogous
#6D72B3 #8B6DB3 #AE6DB3
triadic
#8B6DB3 #B38B6D #6DB38B
tetradic
#8B6DB3 #B36D72 #95B36D #6DB3AE
square
#8B6DB3 #B36D72 #95B36D #6DB3AE
split-complementary
#8B6DB3 #B3AE6D #72B36D
monochromatic
#4F396D #6C4E95 #8B6DB3 #AB95C8 #CBBDDD

Accessibility & contrast

On white

4.25
#8B6DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#8B6DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6DB3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6DB3#FFFFFF#000000##000000
##8B6DB31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB6
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#847887
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b6db3;
/* rgb */ color: rgb(139, 109, 179);
/* oklch */ color: oklch(59.2% 0.109 303.0);
Tailwind
colors: {
  custom: {
    50: '#ae97ca',
    500: '#8b6db3',
    950: '#000000',
  },
}
SCSS
$custom: #8b6db3;
$custom-light: #ae97ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6db3",
  "rgb": {
    "r": 139,
    "g": 109,
    "b": 179
  },
  "hsl": {
    "h": 265.714,
    "s": 31.532,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.10867,
    "h": 303
  },
  "luminance": 0.19681
}

Semantic roles & 50–950 ramp

primary
#8B6DB3
secondary
#C0CCB0
accent
#C8609B
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #8B6DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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