#786DB6#786DB6

#786DB6 is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.6% C 0.111 H 289.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#786DB6
RGBrgb(120, 109, 182)
HSLhsl(249, 33%, 57%)
HSVhsv(249, 40%, 71%)
CMYKcmyk(34.1%, 40.1%, 0%, 28.6%)
CIE-LABlab(49.87, 21.48, -37.20)
CIE-LCHlch(49.87, 42.95, 300.00°)
OKLaboklab(57.62% 0.0367 -0.1043)
OKLCHoklch(57.62% 0.111 289.4)
XYZxyz(21.6556, 18.3072, 46.6396)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DB6 #ABB66D
analogous
#6D87B6 #786DB6 #9D6DB6
triadic
#786DB6 #B6786D #6DB678
tetradic
#786DB6 #B66D87 #ABB66D #6DB69D
square
#786DB6 #B66D87 #ABB66D #6DB69D
split-complementary
#786DB6 #B69D6D #87B66D
monochromatic
#413870 #584D99 #786DB6 #9E96CA #C3BFDF

Accessibility & contrast

On white

4.50
#786DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#786DB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DB6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DB6#FFFFFF#000000##000000
##786DB61.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5678B9
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#697B89
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #786db6;
/* rgb */ color: rgb(120, 109, 182);
/* oklch */ color: oklch(57.6% 0.111 289.4);
Tailwind
colors: {
  custom: {
    50: '#a197cc',
    500: '#786db6',
    950: '#000000',
  },
}
SCSS
$custom: #786db6;
$custom-light: #a197cc;
$custom-dark: #000000;
JSON
{
  "hex": "#786db6",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 182
  },
  "hsl": {
    "h": 249.041,
    "s": 33.333,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57624,
    "c": 0.11055,
    "h": 289.4
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#786DB6
secondary
#CACEB1
accent
#C95EB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #786DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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