#8B6DC0#8B6DC0

#8B6DC0 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.9% C 0.126 H 299.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B6DC0
RGBrgb(139, 109, 192)
HSLhsl(262, 40%, 59%)
HSVhsv(262, 43%, 75%)
CMYKcmyk(27.6%, 43.2%, 0%, 24.7%)
CIE-LABlab(52.10, 29.49, -39.33)
CIE-LCHlch(52.10, 49.16, 306.86°)
OKLaboklab(59.89% 0.0616 -0.11)
OKLCHoklch(59.89% 0.126 299.2)
XYZxyz(25.6283, 20.2319, 52.4139)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6DC0 #A2C06D
analogous
#6D79C0 #8B6DC0 #B56DC0
triadic
#8B6DC0 #C08B6D #6DC08B
tetradic
#8B6DC0 #C06D79 #A2C06D #6DC0B5
square
#8B6DC0 #C06D79 #A2C06D #6DC0B5
split-complementary
#8B6DC0 #C0B56D #79C06D
monochromatic
#4F367D #6B48A8 #8B6DC0 #AD98D2 #CFC3E5

Accessibility & contrast

On white

4.16
#8B6DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8B6DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6DC0
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6DC0#FFFFFF#000000##000000
##8B6DC01.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC3
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#817C8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b6dc0;
/* rgb */ color: rgb(139, 109, 192);
/* oklch */ color: oklch(59.9% 0.126 299.2);
Tailwind
colors: {
  custom: {
    50: '#af97d3',
    500: '#8b6dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8b6dc0;
$custom-light: #af97d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6dc0",
  "rgb": {
    "r": 139,
    "g": 109,
    "b": 192
  },
  "hsl": {
    "h": 261.687,
    "s": 39.713,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59893,
    "c": 0.12611,
    "h": 299.2
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

primary
#8B6DC0
secondary
#C9D5B4
accent
#D058A4
background
#FAF9FD
surface
#F5F2FA
border
#CFCCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #8B6DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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