#786396#786396

#786396 is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.0% C 0.081 H 302.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#786396
RGBrgb(120, 99, 150)
HSLhsl(265, 20%, 49%)
HSVhsv(265, 34%, 59%)
CMYKcmyk(20%, 34%, 0%, 41.2%)
CIE-LABlab(45.80, 19.22, -24.79)
CIE-LCHlch(45.80, 31.37, 307.79°)
OKLaboklab(54.03% 0.0439 -0.0685)
OKLCHoklch(54.03% 0.081 302.7)
XYZxyz(17.7114, 15.1188, 30.8334)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786396 #819663
analogous
#636896 #786396 #926396
triadic
#786396 #967863 #639678
tetradic
#786396 #966368 #819663 #639692
square
#786396 #966368 #819663 #639692
split-complementary
#786396 #969263 #689663
monochromatic
#3D324C #5B4B71 #786396 #9787B0 #B7ACC8

Accessibility & contrast

On white

5.22
#786396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#786396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786396
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786396#FFFFFF#000000##FFFFFF
##7863961.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586C98
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#736B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #786396;
/* rgb */ color: rgb(120, 99, 150);
/* oklch */ color: oklch(54.0% 0.081 302.7);
Tailwind
colors: {
  custom: {
    50: '#a08fb5',
    500: '#786396',
    950: '#000000',
  },
}
SCSS
$custom: #786396;
$custom-light: #a08fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#786396",
  "rgb": {
    "r": 120,
    "g": 99,
    "b": 150
  },
  "hsl": {
    "h": 264.706,
    "s": 20.482,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54029,
    "c": 0.08133,
    "h": 302.7
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#786396
secondary
#ADB79E
accent
#BD6B9B
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0F0C11
muted
#7E7D80

Preview Lab

Preview with #786396

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

Preview Lab → · Contrast checker → · Palette generator →

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