#786EDF#786EDF

#786EDF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.166 H 284.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#786EDF
RGBrgb(120, 110, 223)
HSLhsl(245, 64%, 65%)
HSVhsv(245, 51%, 87%)
CMYKcmyk(46.2%, 50.7%, 0%, 12.5%)
CIE-LABlab(52.37, 32.52, -56.65)
CIE-LCHlch(52.37, 65.32, 299.86°)
OKLaboklab(60.24% 0.0409 -0.1612)
OKLCHoklch(60.24% 0.166 284.2)
XYZxyz(26.6370, 20.4714, 72.3456)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EDF #D5DF6E
analogous
#6E9CDF #786EDF #B16EDF
triadic
#786EDF #DF786E #6EDF78
tetradic
#786EDF #DF6E9C #D5DF6E #6EDFB1
square
#786EDF #DF6E9C #D5DF6E #6EDFB1
split-complementary
#786EDF #DFB16E #9CDF6E
monochromatic
#3226AD #493CD4 #786EDF #A7A0EA #D5D2F5

Accessibility & contrast

On white

4.12
#786EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#786EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EDF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EDF#FFFFFF#000000##000000
##786EDF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#3579DD
Tritanopia (blue-blind)
#55869C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #786edf;
/* rgb */ color: rgb(120, 110, 223);
/* oklch */ color: oklch(60.2% 0.166 284.2);
Tailwind
colors: {
  custom: {
    50: '#a597ea',
    500: '#786edf',
    950: '#000000',
  },
}
SCSS
$custom: #786edf;
$custom-light: #a597ea;
$custom-dark: #000000;
JSON
{
  "hex": "#786edf",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 245.31,
    "s": 63.842,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.16628,
    "h": 284.2
  },
  "luminance": 0.20473
}

Semantic roles & 50–950 ramp

primary
#786EDF
secondary
#E4E7C1
accent
#CC1ABC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #786EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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