#786EAF#786EAF

#786EAF is a mid, moderate blue. Relative luminance 0.182; OKLCH L 57.5% C 0.099 H 290.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#786EAF
RGBrgb(120, 110, 175)
HSLhsl(249, 29%, 56%)
HSVhsv(249, 37%, 69%)
CMYKcmyk(31.4%, 37.1%, 0%, 31.4%)
CIE-LABlab(49.79, 18.99, -33.27)
CIE-LCHlch(49.79, 38.30, 299.72°)
OKLaboklab(57.45% 0.0338 -0.0929)
OKLCHoklch(57.45% 0.099 290)
XYZxyz(21.0575, 18.2396, 42.9603)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EAF #A5AF6E
analogous
#6E84AF #786EAF #986EAF
triadic
#786EAF #AF786E #6EAF78
tetradic
#786EAF #AF6E84 #A5AF6E #6EAF98
square
#786EAF #AF6E84 #A5AF6E #6EAF98
split-complementary
#786EAF #AF986E #84AF6E
monochromatic
#413A69 #5A5090 #786EAF #9D95C5 #C1BDDB

Accessibility & contrast

On white

4.52
#786EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#786EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EAF#FFFFFF#000000##000000
##786EAF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B78B2
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#6B7A86
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #786eaf;
/* rgb */ color: rgb(120, 110, 175);
/* oklch */ color: oklch(57.5% 0.099 290.0);
Tailwind
colors: {
  custom: {
    50: '#a197c7',
    500: '#786eaf',
    950: '#000000',
  },
}
SCSS
$custom: #786eaf;
$custom-light: #a197c7;
$custom-dark: #000000;
JSON
{
  "hex": "#786eaf",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 175
  },
  "hsl": {
    "h": 249.231,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.09883,
    "h": 290
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#786EAF
secondary
#C6CAAF
accent
#C563B6
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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