#786196#786196

#786196 is a mid, moderate violet. Relative luminance 0.147; OKLCH L 53.6% C 0.085 H 303.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#786196
RGBrgb(120, 97, 150)
HSLhsl(266, 21%, 48%)
HSVhsv(266, 35%, 59%)
CMYKcmyk(20%, 35.3%, 0%, 41.2%)
CIE-LABlab(45.28, 20.43, -25.59)
CIE-LCHlch(45.28, 32.74, 308.61°)
OKLaboklab(53.64% 0.047 -0.0707)
OKLCHoklch(53.64% 0.085 303.6)
XYZxyz(17.5243, 14.7445, 30.7710)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786196 #7F9661
analogous
#616496 #786196 #926196
triadic
#786196 #967861 #619678
tetradic
#786196 #966164 #7F9661 #619692
square
#786196 #966164 #7F9661 #619692
split-complementary
#786196 #969261 #649661
monochromatic
#3D314C #5A4971 #786196 #9784B0 #B7AAC8

Accessibility & contrast

On white

5.32
#786196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#786196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786196
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786196#FFFFFF#000000##FFFFFF
##7861961.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556B98
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#736974
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786196;
/* rgb */ color: rgb(120, 97, 150);
/* oklch */ color: oklch(53.6% 0.085 303.6);
Tailwind
colors: {
  custom: {
    50: '#a08eb5',
    500: '#786196',
    950: '#000000',
  },
}
SCSS
$custom: #786196;
$custom-light: #a08eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#786196",
  "rgb": {
    "r": 120,
    "g": 97,
    "b": 150
  },
  "hsl": {
    "h": 266.038,
    "s": 21.457,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.08492,
    "h": 303.6
  },
  "luminance": 0.14744
}

Semantic roles & 50–950 ramp

primary
#786196
secondary
#ABB69D
accent
#BE6A99
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #786196

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

Preview Lab → · Contrast checker → · Palette generator →

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