#786992#786992

#786992 is a mid, moderate violet. Relative luminance 0.162; OKLCH L 55.0% C 0.065 H 301.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#786992
RGBrgb(120, 105, 146)
HSLhsl(262, 16%, 49%)
HSVhsv(262, 28%, 57%)
CMYKcmyk(17.8%, 28.1%, 0%, 42.7%)
CIE-LABlab(47.20, 14.64, -20.25)
CIE-LCHlch(47.20, 24.99, 305.87°)
OKLaboklab(55.05% 0.0335 -0.0556)
OKLCHoklch(55.05% 0.065 301.1)
XYZxyz(17.9845, 16.1715, 29.3625)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786992 #839269
analogous
#696F92 #786992 #8D6992
triadic
#786992 #927869 #699278
tetradic
#786992 #92696F #839269 #69928D
square
#786992 #92696F #839269 #69928D
split-complementary
#786992 #928D69 #6F9269
monochromatic
#3D364B #5B4F6E #786992 #988CAC #B8B0C6

Accessibility & contrast

On white

4.96
#786992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#786992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786992
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786992#FFFFFF#000000##FFFFFF
##7869921.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617094
Deuteranopia (green-blind)
#637091
Tritanopia (blue-blind)
#746F77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #786992;
/* rgb */ color: rgb(120, 105, 146);
/* oklch */ color: oklch(55.0% 0.065 301.1);
Tailwind
colors: {
  custom: {
    50: '#9f94b2',
    500: '#786992',
    950: '#000000',
  },
}
SCSS
$custom: #786992;
$custom-light: #9f94b2;
$custom-dark: #000000;
JSON
{
  "hex": "#786992",
  "rgb": {
    "r": 120,
    "g": 105,
    "b": 146
  },
  "hsl": {
    "h": 261.951,
    "s": 16.335,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55048,
    "c": 0.06486,
    "h": 301.1
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#786992
secondary
#AEB5A2
accent
#B96F9E
background
#F9F9FA
surface
#F2F1F5
border
#CCCBCF
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #786992

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

Preview Lab → · Contrast checker → · Palette generator →

#786992 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva