#787286#787286

#787286 is a mid, muted violet. Relative luminance 0.177; OKLCH L 56.4% C 0.031 H 299.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#787286
RGBrgb(120, 114, 134)
HSLhsl(258, 8%, 49%)
HSVhsv(258, 15%, 53%)
CMYKcmyk(10.4%, 14.9%, 0%, 47.5%)
CIE-LABlab(49.19, 6.49, -10.11)
CIE-LCHlch(49.19, 12.01, 302.68°)
OKLaboklab(56.44% 0.0152 -0.0273)
OKLCHoklch(56.44% 0.031 299.1)
XYZxyz(18.0653, 17.7489, 25.0238)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#787286 #808672
analogous
#727686 #787286 #827286
triadic
#787286 #867872 #728678
tetradic
#787286 #867276 #808672 #728682
square
#787286 #867276 #808672 #728682
split-complementary
#787286 #868272 #768672
monochromatic
#3D3A44 #5A5665 #787286 #9793A3 #B7B4BF

Accessibility & contrast

On white

4.62
#787286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#787286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #787286
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##787286#FFFFFF#000000##FFFFFF
##7872861.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7587
Deuteranopia (green-blind)
#6F7585
Tritanopia (blue-blind)
#767579
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #787286;
/* rgb */ color: rgb(120, 114, 134);
/* oklch */ color: oklch(56.4% 0.031 299.1);
Tailwind
colors: {
  custom: {
    50: '#9f9aa9',
    500: '#787286',
    950: '#000000',
  },
}
SCSS
$custom: #787286;
$custom-light: #9f9aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#787286",
  "rgb": {
    "r": 120,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 258,
    "s": 8.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.03123,
    "h": 299.1
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#787286
secondary
#ACAFA5
accent
#B177A0
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0E0F
muted
#7E7E7F

Preview Lab

Preview with #787286

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

Preview Lab → · Contrast checker → · Palette generator →

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