#786884#786884

#786884 is a mid, muted violet. Relative luminance 0.156; OKLCH L 54.2% C 0.047 H 310.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#786884
RGBrgb(120, 104, 132)
HSLhsl(274, 12%, 46%)
HSVhsv(274, 21%, 52%)
CMYKcmyk(9.1%, 21.2%, 0%, 48.2%)
CIE-LABlab(46.39, 12.01, -13.14)
CIE-LCHlch(46.39, 17.80, 312.42°)
OKLaboklab(54.25% 0.0304 -0.0356)
OKLCHoklch(54.25% 0.047 310.5)
XYZxyz(16.8602, 15.5598, 23.9404)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786884 #748468
analogous
#6A6884 #786884 #846882
triadic
#786884 #847868 #688478
tetradic
#786884 #846A68 #748468 #688284
square
#786884 #846A68 #748468 #688284
split-complementary
#786884 #828468 #68846A
monochromatic
#3A3240 #594D62 #786884 #9688A1 #B4AABC

Accessibility & contrast

On white

5.11
#786884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#786884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786884
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786884#FFFFFF#000000##FFFFFF
##7868841.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646D85
Deuteranopia (green-blind)
#676E83
Tritanopia (blue-blind)
#776B72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #786884;
/* rgb */ color: rgb(120, 104, 132);
/* oklch */ color: oklch(54.2% 0.047 310.5);
Tailwind
colors: {
  custom: {
    50: '#9f93a7',
    500: '#786884',
    950: '#000000',
  },
}
SCSS
$custom: #786884;
$custom-light: #9f93a7;
$custom-dark: #000000;
JSON
{
  "hex": "#786884",
  "rgb": {
    "r": 120,
    "g": 104,
    "b": 132
  },
  "hsl": {
    "h": 274.286,
    "s": 11.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.04684,
    "h": 310.5
  },
  "luminance": 0.1556
}

Semantic roles & 50–950 ramp

primary
#786884
secondary
#A3AB9C
accent
#B5738F
background
#F9F9FA
surface
#F2F1F4
border
#CCCBCE
text
#0E0D0F
muted
#7E7E7F

Preview Lab

Preview with #786884

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

Preview Lab → · Contrast checker → · Palette generator →

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