#786EC0#786EC0

#786EC0 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.123 H 287.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#786EC0
RGBrgb(120, 110, 192)
HSLhsl(247, 39%, 59%)
HSVhsv(247, 43%, 75%)
CMYKcmyk(37.5%, 42.7%, 0%, 24.7%)
CIE-LABlab(50.63, 23.63, -41.77)
CIE-LCHlch(50.63, 47.99, 299.50°)
OKLaboklab(58.37% 0.0372 -0.1176)
OKLCHoklch(58.37% 0.123 287.5)
XYZxyz(22.8335, 18.9500, 52.3136)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EC0 #B6C06E
analogous
#6E8DC0 #786EC0 #A16EC0
triadic
#786EC0 #C0786E #6EC078
tetradic
#786EC0 #C06E8D #B6C06E #6EC0A1
square
#786EC0 #C06E8D #B6C06E #6EC0A1
split-complementary
#786EC0 #C0A16E #8DC06E
monochromatic
#3F367D #5549A8 #786EC0 #A099D3 #C7C3E5

Accessibility & contrast

On white

4.38
#786EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#786EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EC0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EC0#FFFFFF#000000##000000
##786EC01.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC3
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#657E8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #786ec0;
/* rgb */ color: rgb(120, 110, 192);
/* oklch */ color: oklch(58.4% 0.123 287.5);
Tailwind
colors: {
  custom: {
    50: '#a297d3',
    500: '#786ec0',
    950: '#000000',
  },
}
SCSS
$custom: #786ec0;
$custom-light: #a297d3;
$custom-dark: #000000;
JSON
{
  "hex": "#786ec0",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 192
  },
  "hsl": {
    "h": 247.317,
    "s": 39.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.12331,
    "h": 287.5
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#786EC0
secondary
#D1D5B5
accent
#CF58C1
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #786EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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