#786F91#786F91

#786F91 is a mid, muted violet. Relative luminance 0.174; OKLCH L 56.2% C 0.053 H 296.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#786F91
RGBrgb(120, 111, 145)
HSLhsl(256, 13%, 50%)
HSVhsv(256, 23%, 57%)
CMYKcmyk(17.2%, 23.4%, 0%, 43.1%)
CIE-LABlab(48.77, 10.80, -17.26)
CIE-LCHlch(48.77, 20.36, 302.05°)
OKLaboklab(56.25% 0.0238 -0.0471)
OKLCHoklch(56.25% 0.053 296.8)
XYZxyz(18.5399, 17.4062, 29.1656)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F91 #88916F
analogous
#6F7791 #786F91 #896F91
triadic
#786F91 #91786F #6F9178
tetradic
#786F91 #916F77 #88916F #6F9189
square
#786F91 #916F77 #88916F #6F9189
split-complementary
#786F91 #91896F #77916F
monochromatic
#3F3A4C #5B546E #786F91 #9992AC #B9B4C6

Accessibility & contrast

On white

4.69
#786F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#786F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F91
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F91#FFFFFF#000000##FFFFFF
##786F911.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#697390
Tritanopia (blue-blind)
#73747B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #786f91;
/* rgb */ color: rgb(120, 111, 145);
/* oklch */ color: oklch(56.2% 0.053 296.8);
Tailwind
colors: {
  custom: {
    50: '#9f98b1',
    500: '#786f91',
    950: '#000000',
  },
}
SCSS
$custom: #786f91;
$custom-light: #9f98b1;
$custom-dark: #000000;
JSON
{
  "hex": "#786f91",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 145
  },
  "hsl": {
    "h": 255.882,
    "s": 13.386,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.05283,
    "h": 296.8
  },
  "luminance": 0.17406
}

Semantic roles & 50–950 ramp

primary
#786F91
secondary
#B1B5A6
accent
#B672A4
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786F91

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

Preview Lab → · Contrast checker → · Palette generator →

#786F91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva