#786384#786384

#786384 is a mid, muted violet. Relative luminance 0.146; OKLCH L 53.2% C 0.056 H 313.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#786384
RGBrgb(120, 99, 132)
HSLhsl(278, 14%, 45%)
HSVhsv(278, 25%, 52%)
CMYKcmyk(9.1%, 25%, 0%, 48.2%)
CIE-LABlab(45.06, 15.02, -15.17)
CIE-LCHlch(45.06, 21.35, 314.72°)
OKLaboklab(53.22% 0.0385 -0.0412)
OKLCHoklch(53.22% 0.056 313.1)
XYZxyz(16.3717, 14.5829, 23.7776)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786384 #6F8463
analogous
#676384 #786384 #84637F
triadic
#786384 #847863 #638478
tetradic
#786384 #846763 #6F8463 #637F84
square
#786384 #846763 #6F8463 #637F84
split-complementary
#786384 #7F8463 #638467
monochromatic
#382F3E #584961 #786384 #9683A2 #B4A6BC

Accessibility & contrast

On white

5.36
#786384 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#786384 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786384
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786384#FFFFFF#000000##FFFFFF
##7863841.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6985
Deuteranopia (green-blind)
#636B83
Tritanopia (blue-blind)
#77676E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786384;
/* rgb */ color: rgb(120, 99, 132);
/* oklch */ color: oklch(53.2% 0.056 313.1);
Tailwind
colors: {
  custom: {
    50: '#9f8fa7',
    500: '#786384',
    950: '#000000',
  },
}
SCSS
$custom: #786384;
$custom-light: #9f8fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#786384",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 132
  },
  "hsl": {
    "h": 278.182,
    "s": 14.286,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53219,
    "c": 0.05642,
    "h": 313.1
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#786384
secondary
#9FAB98
accent
#B7718A
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #786384

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

Preview Lab → · Contrast checker → · Palette generator →

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