#8B6DBA#8B6DBA

#8B6DBA is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.6% C 0.118 H 300.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8B6DBA
RGBrgb(139, 109, 186)
HSLhsl(263, 36%, 58%)
HSVhsv(263, 41%, 73%)
CMYKcmyk(25.3%, 41.4%, 0%, 27.1%)
CIE-LABlab(51.80, 28.00, -36.34)
CIE-LCHlch(51.80, 45.88, 307.61°)
OKLaboklab(59.58% 0.0605 -0.1014)
OKLCHoklch(59.58% 0.118 300.8)
XYZxyz(24.9770, 19.9713, 48.9838)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B6DBA #9CBA6D
analogous
#6D75BA #8B6DBA #B26DBA
triadic
#8B6DBA #BA8B6D #6DBA8B
tetradic
#8B6DBA #BA6D75 #9CBA6D #6DBAB2
square
#8B6DBA #BA6D75 #9CBA6D #6DBAB2
split-complementary
#8B6DBA #BAB26D #75BA6D
monochromatic
#4F3775 #6C4B9F #8B6DBA #AC97CE #CDC0E1

Accessibility & contrast

On white

4.20
#8B6DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#8B6DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B6DBA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B6DBA#FFFFFF#000000##000000
##8B6DBA1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#5F7BB8
Tritanopia (blue-blind)
#827A8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b6dba;
/* rgb */ color: rgb(139, 109, 186);
/* oklch */ color: oklch(59.6% 0.118 300.8);
Tailwind
colors: {
  custom: {
    50: '#ae97cf',
    500: '#8b6dba',
    950: '#000000',
  },
}
SCSS
$custom: #8b6dba;
$custom-light: #ae97cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b6dba",
  "rgb": {
    "r": 139,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 263.377,
    "s": 35.814,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.11807,
    "h": 300.8
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#8B6DBA
secondary
#C5D1B2
accent
#CC5CA0
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #8B6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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