#786192#786192

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

Color values

HEX#786192
RGBrgb(120, 97, 146)
HSLhsl(268, 20%, 48%)
HSVhsv(268, 34%, 57%)
CMYKcmyk(17.8%, 33.6%, 0%, 42.7%)
CIE-LABlab(45.11, 19.47, -23.48)
CIE-LCHlch(45.11, 30.50, 309.66°)
OKLaboklab(53.45% 0.0459 -0.0647)
OKLCHoklch(53.45% 0.079 305.4)
XYZxyz(17.2077, 14.6179, 29.1036)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786192 #7B9261
analogous
#616292 #786192 #916192
triadic
#786192 #927861 #619278
tetradic
#786192 #926162 #7B9261 #619291
square
#786192 #926162 #7B9261 #619291
split-complementary
#786192 #929161 #629261
monochromatic
#3C3048 #5A496D #786192 #9783AD #B6A8C5

Accessibility & contrast

On white

5.35
#786192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #786192
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786192#FFFFFF#000000##FFFFFF
##7861921.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576A94
Deuteranopia (green-blind)
#5C6B91
Tritanopia (blue-blind)
#746873
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786192;
/* rgb */ color: rgb(120, 97, 146);
/* oklch */ color: oklch(53.4% 0.079 305.4);
Tailwind
colors: {
  custom: {
    50: '#9f8eb2',
    500: '#786192',
    950: '#000000',
  },
}
SCSS
$custom: #786192;
$custom-light: #9f8eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#786192",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 146
  },
  "hsl": {
    "h": 268.163,
    "s": 20.165,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.07934,
    "h": 305.4
  },
  "luminance": 0.14618
}

Semantic roles & 50–950 ramp

primary
#786192
secondary
#A8B49B
accent
#BD6B96
background
#F9F8FA
surface
#F2F0F5
border
#CCCBCF
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #786192

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

Preview Lab → · Contrast checker → · Palette generator →

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