#8D6FBA#8D6FBA

#8D6FBA is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.1% C 0.115 H 301.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8D6FBA
RGBrgb(141, 111, 186)
HSLhsl(264, 35%, 58%)
HSVhsv(264, 40%, 73%)
CMYKcmyk(24.2%, 40.3%, 0%, 27.1%)
CIE-LABlab(52.48, 27.42, -35.27)
CIE-LCHlch(52.48, 44.67, 307.87°)
OKLaboklab(60.14% 0.0601 -0.0982)
OKLCHoklch(60.14% 0.115 301.5)
XYZxyz(25.5299, 20.5767, 49.0716)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D6FBA #9CBA6F
analogous
#6F76BA #8D6FBA #B26FBA
triadic
#8D6FBA #BA8D6F #6FBA8D
tetradic
#8D6FBA #BA6F76 #9CBA6F #6FBAB2
square
#8D6FBA #BA6F76 #9CBA6F #6FBAB2
split-complementary
#8D6FBA #BAB26F #76BA6F
monochromatic
#513976 #6E4C9F #8D6FBA #AE98CE #CFC2E2

Accessibility & contrast

On white

4.11
#8D6FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#8D6FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D6FBA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D6FBA#FFFFFF#000000##000000
##8D6FBA1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#857B8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d6fba;
/* rgb */ color: rgb(141, 111, 186);
/* oklch */ color: oklch(60.1% 0.115 301.5);
Tailwind
colors: {
  custom: {
    50: '#b098cf',
    500: '#8d6fba',
    950: '#000000',
  },
}
SCSS
$custom: #8d6fba;
$custom-light: #b098cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d6fba",
  "rgb": {
    "r": 141,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 264,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.11513,
    "h": 301.5
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#8D6FBA
secondary
#C5D1B3
accent
#CB5D9F
background
#FAF9FC
surface
#F5F2F9
border
#CFCCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #8D6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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