#786A90#786A90

#786A90 is a mid, moderate violet. Relative luminance 0.163; OKLCH L 55.2% C 0.060 H 301.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#786A90
RGBrgb(120, 106, 144)
HSLhsl(262, 15%, 49%)
HSVhsv(262, 26%, 56%)
CMYKcmyk(16.7%, 26.4%, 0%, 43.5%)
CIE-LABlab(47.38, 13.56, -18.78)
CIE-LCHlch(47.38, 23.16, 305.84°)
OKLaboklab(55.17% 0.0313 -0.0514)
OKLCHoklch(55.17% 0.06 301.3)
XYZxyz(17.9328, 16.3147, 28.5845)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786A90 #82906A
analogous
#6A6F90 #786A90 #8B6A90
triadic
#786A90 #90786A #6A9078
tetradic
#786A90 #906A6F #82906A #6A908B
square
#786A90 #906A6F #82906A #6A908B
split-complementary
#786A90 #908B6A #6F906A
monochromatic
#3D3649 #5B506D #786A90 #988CAB #B7B0C5

Accessibility & contrast

On white

4.93
#786A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#786A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786A90
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786A90#FFFFFF#000000##FFFFFF
##786A901.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627092
Deuteranopia (green-blind)
#65708F
Tritanopia (blue-blind)
#747077
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #786a90;
/* rgb */ color: rgb(120, 106, 144);
/* oklch */ color: oklch(55.2% 0.060 301.3);
Tailwind
colors: {
  custom: {
    50: '#9f94b0',
    500: '#786a90',
    950: '#000000',
  },
}
SCSS
$custom: #786a90;
$custom-light: #9f94b0;
$custom-dark: #000000;
JSON
{
  "hex": "#786a90",
  "rgb": {
    "r": 120,
    "g": 106,
    "b": 144
  },
  "hsl": {
    "h": 262.105,
    "s": 15.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55165,
    "c": 0.06018,
    "h": 301.3
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

primary
#786A90
secondary
#ADB4A2
accent
#B8709D
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #786A90

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

Preview Lab → · Contrast checker → · Palette generator →

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