#786EDA#786EDA

#786EDA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.160 H 284.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#786EDA
RGBrgb(120, 110, 218)
HSLhsl(246, 59%, 64%)
HSVhsv(246, 50%, 85%)
CMYKcmyk(45%, 49.5%, 0%, 14.5%)
CIE-LABlab(52.07, 31.06, -54.30)
CIE-LCHlch(52.07, 62.56, 299.77°)
OKLaboklab(59.92% 0.0405 -0.1543)
OKLCHoklch(59.92% 0.16 284.7)
XYZxyz(25.9729, 20.2058, 68.8476)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EDA #D0DA6E
analogous
#6E9ADA #786EDA #AE6EDA
triadic
#786EDA #DA786E #6EDA78
tetradic
#786EDA #DA6E9A #D0DA6E #6EDAAE
square
#786EDA #DA6E9A #D0DA6E #6EDAAE
split-complementary
#786EDA #DAAE6E #9ADA6E
monochromatic
#352AA4 #4B3DCE #786EDA #A59FE6 #D3D0F3

Accessibility & contrast

On white

4.17
#786EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#786EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EDA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EDA#FFFFFF#000000##000000
##786EDA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDE
Deuteranopia (green-blind)
#3B79D8
Tritanopia (blue-blind)
#58859A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #786eda;
/* rgb */ color: rgb(120, 110, 218);
/* oklch */ color: oklch(59.9% 0.160 284.7);
Tailwind
colors: {
  custom: {
    50: '#a497e6',
    500: '#786eda',
    950: '#000000',
  },
}
SCSS
$custom: #786eda;
$custom-light: #a497e6;
$custom-dark: #000000;
JSON
{
  "hex": "#786eda",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 245.556,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.1595,
    "h": 284.7
  },
  "luminance": 0.20207
}

Semantic roles & 50–950 ramp

primary
#786EDA
secondary
#E1E5BF
accent
#C71FB7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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