#8D6EBA#8D6EBA

#8D6EBA is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.0% C 0.117 H 301.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8D6EBA
RGBrgb(141, 110, 186)
HSLhsl(264, 36%, 58%)
HSVhsv(264, 41%, 73%)
CMYKcmyk(24.2%, 40.9%, 0%, 27.1%)
CIE-LABlab(52.24, 28.00, -35.64)
CIE-LCHlch(52.24, 45.33, 308.16°)
OKLaboklab(59.95% 0.0615 -0.0993)
OKLCHoklch(59.95% 0.117 301.8)
XYZxyz(25.4214, 20.3597, 49.0354)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6EBA #9BBA6E
analogous
#6E75BA #8D6EBA #B36EBA
triadic
#8D6EBA #BA8D6E #6EBA8D
tetradic
#8D6EBA #BA6E75 #9BBA6E #6EBAB3
square
#8D6EBA #BA6E75 #9BBA6E #6EBAB3
split-complementary
#8D6EBA #BAB36E #75BA6E
monochromatic
#513876 #6E4C9F #8D6EBA #AE97CE #CEC1E1

Accessibility & contrast

On white

4.14
#8D6EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#8D6EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6EBA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6EBA#FFFFFF#000000##000000
##8D6EBA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#857B8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d6eba;
/* rgb */ color: rgb(141, 110, 186);
/* oklch */ color: oklch(60.0% 0.117 301.8);
Tailwind
colors: {
  custom: {
    50: '#b098cf',
    500: '#8d6eba',
    950: '#000000',
  },
}
SCSS
$custom: #8d6eba;
$custom-light: #b098cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6eba",
  "rgb": {
    "r": 141,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 264.474,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.11682,
    "h": 301.8
  },
  "luminance": 0.2036
}

Semantic roles & 50–950 ramp

primary
#8D6EBA
secondary
#C5D1B3
accent
#CC5C9E
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #8D6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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