#786EA4#786EA4

#786EA4 is a mid, moderate violet. Relative luminance 0.178; OKLCH L 56.9% C 0.083 H 292.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#786EA4
RGBrgb(120, 110, 164)
HSLhsl(251, 23%, 54%)
HSVhsv(251, 33%, 64%)
CMYKcmyk(26.8%, 32.9%, 0%, 35.7%)
CIE-LABlab(49.28, 16.11, -27.63)
CIE-LCHlch(49.28, 31.99, 300.23°)
OKLaboklab(56.9% 0.0311 -0.0766)
OKLCHoklch(56.9% 0.083 292.1)
XYZxyz(20.0209, 17.8250, 37.5005)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EA4 #9AA46E
analogous
#6E7FA4 #786EA4 #936EA4
triadic
#786EA4 #A4786E #6EA478
tetradic
#786EA4 #A46E7F #9AA46E #6EA493
square
#786EA4 #A46E7F #9AA46E #6EA493
split-complementary
#786EA4 #A4936E #7FA46E
monochromatic
#413A5D #5B5283 #786EA4 #9B94BC #BEB9D3

Accessibility & contrast

On white

4.60
#786EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#786EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #786EA4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EA4#FFFFFF#000000##FFFFFF
##786EA41.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A6
Deuteranopia (green-blind)
#6174A3
Tritanopia (blue-blind)
#6F7782
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #786ea4;
/* rgb */ color: rgb(120, 110, 164);
/* oklch */ color: oklch(56.9% 0.083 292.1);
Tailwind
colors: {
  custom: {
    50: '#a097bf',
    500: '#786ea4',
    950: '#000000',
  },
}
SCSS
$custom: #786ea4;
$custom-light: #a097bf;
$custom-dark: #000000;
JSON
{
  "hex": "#786ea4",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 251.111,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56901,
    "c": 0.0827,
    "h": 292.1
  },
  "luminance": 0.17825
}

Semantic roles & 50–950 ramp

primary
#786EA4
secondary
#BEC2AB
accent
#BF68AF
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #786EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#786EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva