#786ED0#786ED0

#786ED0 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.146 H 285.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#786ED0
RGBrgb(120, 110, 208)
HSLhsl(246, 51%, 62%)
HSVhsv(246, 47%, 82%)
CMYKcmyk(42.3%, 47.1%, 0%, 18.4%)
CIE-LABlab(51.49, 28.17, -49.55)
CIE-LCHlch(51.49, 56.99, 299.62°)
OKLaboklab(59.31% 0.0395 -0.1403)
OKLCHoklch(59.31% 0.146 285.7)
XYZxyz(24.7036, 19.6980, 62.1628)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786ED0 #C6D06E
analogous
#6E95D0 #786ED0 #A96ED0
triadic
#786ED0 #D0786E #6ED078
tetradic
#786ED0 #D06E95 #C6D06E #6ED0A9
square
#786ED0 #D06E95 #C6D06E #6ED0A9
split-complementary
#786ED0 #D0A96E #95D06E
monochromatic
#3A3094 #4D40C1 #786ED0 #A39CDF #CECAEE

Accessibility & contrast

On white

4.25
#786ED0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#786ED0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786ED0
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786ED0#FFFFFF#000000##000000
##786ED01.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD4
Deuteranopia (green-blind)
#4578CE
Tritanopia (blue-blind)
#5E8295
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #786ed0;
/* rgb */ color: rgb(120, 110, 208);
/* oklch */ color: oklch(59.3% 0.146 285.7);
Tailwind
colors: {
  custom: {
    50: '#a397df',
    500: '#786ed0',
    950: '#000000',
  },
}
SCSS
$custom: #786ed0;
$custom-light: #a397df;
$custom-dark: #000000;
JSON
{
  "hex": "#786ed0",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 208
  },
  "hsl": {
    "h": 246.122,
    "s": 51.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59305,
    "c": 0.14577,
    "h": 285.7
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#786ED0
secondary
#DBDFBB
accent
#BE27AF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #786ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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