#786EAE#786EAE

#786EAE is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.4% C 0.097 H 290.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#786EAE
RGBrgb(120, 110, 174)
HSLhsl(249, 28%, 56%)
HSVhsv(249, 37%, 68%)
CMYKcmyk(31%, 36.8%, 0%, 31.8%)
CIE-LABlab(49.74, 18.72, -32.76)
CIE-LCHlch(49.74, 37.73, 299.75°)
OKLaboklab(57.4% 0.0335 -0.0914)
OKLCHoklch(57.4% 0.097 290.1)
XYZxyz(20.9597, 18.2005, 42.4449)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EAE #A4AE6E
analogous
#6E84AE #786EAE #986EAE
triadic
#786EAE #AE786E #6EAE78
tetradic
#786EAE #AE6E84 #A4AE6E #6EAE98
square
#786EAE #AE6E84 #A4AE6E #6EAE98
split-complementary
#786EAE #AE986E #84AE6E
monochromatic
#413A68 #5A508F #786EAE #9D95C4 #C1BDDA

Accessibility & contrast

On white

4.53
#786EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#786EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EAE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EAE#FFFFFF#000000##000000
##786EAE1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77B1
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#6B7986
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786eae;
/* rgb */ color: rgb(120, 110, 174);
/* oklch */ color: oklch(57.4% 0.097 290.1);
Tailwind
colors: {
  custom: {
    50: '#a097c6',
    500: '#786eae',
    950: '#000000',
  },
}
SCSS
$custom: #786eae;
$custom-light: #a097c6;
$custom-dark: #000000;
JSON
{
  "hex": "#786eae",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 174
  },
  "hsl": {
    "h": 249.375,
    "s": 28.319,
    "l": 55.686
  },
  "oklch": {
    "l": 0.574,
    "c": 0.09737,
    "h": 290.1
  },
  "luminance": 0.18201
}

Semantic roles & 50–950 ramp

primary
#786EAE
secondary
#C5C9AF
accent
#C563B5
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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