#786E95#786E95

#786E95 is a mid, moderate violet. Relative luminance 0.173; OKLCH L 56.2% C 0.060 H 296.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#786E95
RGBrgb(120, 110, 149)
HSLhsl(255, 16%, 51%)
HSVhsv(255, 26%, 58%)
CMYKcmyk(19.5%, 26.2%, 0%, 41.6%)
CIE-LABlab(48.65, 12.36, -19.79)
CIE-LCHlch(48.65, 23.33, 301.99°)
OKLaboklab(56.21% 0.0267 -0.0543)
OKLCHoklch(56.21% 0.06 296.2)
XYZxyz(18.7453, 17.3147, 30.7824)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786E95 #8B956E
analogous
#6E7795 #786E95 #8B6E95
triadic
#786E95 #95786E #6E9578
tetradic
#786E95 #956E77 #8B956E #6E958B
square
#786E95 #956E77 #8B956E #6E958B
split-complementary
#786E95 #958B6E #77956E
monochromatic
#3F3A4F #5B5472 #786E95 #9991AF #BAB5C9

Accessibility & contrast

On white

4.71
#786E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#786E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786E95
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786E95#FFFFFF#000000##FFFFFF
##786E951.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657497
Deuteranopia (green-blind)
#677394
Tritanopia (blue-blind)
#73747C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #786e95;
/* rgb */ color: rgb(120, 110, 149);
/* oklch */ color: oklch(56.2% 0.060 296.2);
Tailwind
colors: {
  custom: {
    50: '#9f97b4',
    500: '#786e95',
    950: '#000000',
  },
}
SCSS
$custom: #786e95;
$custom-light: #9f97b4;
$custom-dark: #000000;
JSON
{
  "hex": "#786e95",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 149
  },
  "hsl": {
    "h": 255.385,
    "s": 15.538,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.06049,
    "h": 296.2
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#786E95
secondary
#B4B8A7
accent
#B870A6
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #786E95

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

Preview Lab → · Contrast checker → · Palette generator →

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