#786F92#786F92

#786F92 is a mid, muted violet. Relative luminance 0.174; OKLCH L 56.3% C 0.054 H 296.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#786F92
RGBrgb(120, 111, 146)
HSLhsl(255, 14%, 50%)
HSVhsv(255, 24%, 57%)
CMYKcmyk(17.8%, 24%, 0%, 42.7%)
CIE-LABlab(48.81, 11.04, -17.79)
CIE-LCHlch(48.81, 20.93, 301.83°)
OKLaboklab(56.29% 0.0242 -0.0486)
OKLCHoklch(56.29% 0.054 296.4)
XYZxyz(18.6174, 17.4372, 29.5734)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786F92 #89926F
analogous
#6F7792 #786F92 #896F92
triadic
#786F92 #92786F #6F9278
tetradic
#786F92 #926F77 #89926F #6F9289
square
#786F92 #926F77 #89926F #6F9289
split-complementary
#786F92 #92896F #77926F
monochromatic
#3F3A4D #5B546F #786F92 #9992AC #B9B5C7

Accessibility & contrast

On white

4.68
#786F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#786F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786F92
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786F92#FFFFFF#000000##FFFFFF
##786F921.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786f92;
/* rgb */ color: rgb(120, 111, 146);
/* oklch */ color: oklch(56.3% 0.054 296.4);
Tailwind
colors: {
  custom: {
    50: '#9f98b2',
    500: '#786f92',
    950: '#000000',
  },
}
SCSS
$custom: #786f92;
$custom-light: #9f98b2;
$custom-dark: #000000;
JSON
{
  "hex": "#786f92",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 146
  },
  "hsl": {
    "h": 255.429,
    "s": 13.834,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.05431,
    "h": 296.4
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#786F92
secondary
#B2B6A7
accent
#B771A5
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786F92

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

Preview Lab → · Contrast checker → · Palette generator →

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