#787086#787086

#787086 is a mid, muted violet. Relative luminance 0.173; OKLCH L 56.0% C 0.035 H 301.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#787086
RGBrgb(120, 112, 134)
HSLhsl(262, 9%, 48%)
HSVhsv(262, 16%, 53%)
CMYKcmyk(10.4%, 16.4%, 0%, 47.5%)
CIE-LABlab(48.64, 7.67, -10.94)
CIE-LCHlch(48.64, 13.36, 305.05°)
OKLaboklab(56.01% 0.0184 -0.0296)
OKLCHoklch(56.01% 0.035 301.8)
XYZxyz(17.8422, 17.3026, 24.9494)
Luminance0.1730 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787086 #7E8670
analogous
#707386 #787086 #837086
triadic
#787086 #867870 #708678
tetradic
#787086 #867073 #7E8670 #708683
square
#787086 #867073 #7E8670 #708683
split-complementary
#787086 #868370 #738670
monochromatic
#3C3843 #5A5465 #787086 #9791A3 #B6B2BF

Accessibility & contrast

On white

4.71
#787086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#787086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##787086#FFFFFF#000000##FFFFFF
##7870861.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)
#6C7387
Deuteranopia (green-blind)
#6D7385
Tritanopia (blue-blind)
#767377
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #787086;
/* rgb */ color: rgb(120, 112, 134);
/* oklch */ color: oklch(56.0% 0.035 301.8);
Tailwind
colors: {
  custom: {
    50: '#9f99a9',
    500: '#787086',
    950: '#000000',
  },
}
SCSS
$custom: #787086;
$custom-light: #9f99a9;
$custom-dark: #000000;
JSON
{
  "hex": "#787086",
  "rgb": {
    "r": 120,
    "g": 112,
    "b": 134
  },
  "hsl": {
    "h": 261.818,
    "s": 8.943,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.0348,
    "h": 301.8
  },
  "luminance": 0.17303
}

Semantic roles & 50–950 ramp

primary
#787086
secondary
#AAAEA4
accent
#B2769C
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #787086

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

Preview Lab → · Contrast checker → · Palette generator →

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