#786191#786191

#786191 is a mid, moderate violet. Relative luminance 0.146; OKLCH L 53.4% C 0.078 H 305.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#786191
RGBrgb(120, 97, 145)
HSLhsl(269, 20%, 47%)
HSVhsv(269, 33%, 57%)
CMYKcmyk(17.2%, 33.1%, 0%, 43.1%)
CIE-LABlab(45.06, 19.23, -22.95)
CIE-LCHlch(45.06, 29.94, 309.96°)
OKLaboklab(53.4% 0.0457 -0.0632)
OKLCHoklch(53.4% 0.078 305.9)
XYZxyz(17.1303, 14.5869, 28.6957)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786191 #7A9161
analogous
#616291 #786191 #906191
triadic
#786191 #917861 #619178
tetradic
#786191 #916162 #7A9161 #619190
square
#786191 #916162 #7A9161 #619190
split-complementary
#786191 #919061 #629161
monochromatic
#3B3048 #5A486C #786191 #9783AC #B6A8C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##786191#FFFFFF#000000##FFFFFF
##7861911.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)
#576A93
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#746872
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786191;
/* rgb */ color: rgb(120, 97, 145);
/* oklch */ color: oklch(53.4% 0.078 305.9);
Tailwind
colors: {
  custom: {
    50: '#9f8eb1',
    500: '#786191',
    950: '#000000',
  },
}
SCSS
$custom: #786191;
$custom-light: #9f8eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#786191",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 145
  },
  "hsl": {
    "h": 268.75,
    "s": 19.835,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.07796,
    "h": 305.9
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#786191
secondary
#A7B39B
accent
#BC6B96
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #786191

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

Preview Lab → · Contrast checker → · Palette generator →

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