#786FED#786FED

#786FED is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.184 H 282.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#786FED
RGBrgb(120, 111, 237)
HSLhsl(244, 78%, 68%)
HSVhsv(244, 53%, 93%)
CMYKcmyk(49.4%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.47, 36.07, -62.74)
CIE-LCHlch(53.47, 72.37, 299.89°)
OKLaboklab(61.34% 0.0406 -0.1791)
OKLCHoklch(61.34% 0.184 282.8)
XYZxyz(28.7116, 21.4749, 82.7365)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FED #E4ED6F
analogous
#6FA5ED #786FED #B76FED
triadic
#786FED #ED786F #6FED78
tetradic
#786FED #ED6FA5 #E4ED6F #6FEDB7
square
#786FED #ED6FA5 #E4ED6F #6FEDB7
split-complementary
#786FED #EDB76F #A5ED6F
monochromatic
#2619C9 #4539E6 #786FED #ABA5F4 #DEDCFB

Accessibility & contrast

On white

3.97
#786FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#786FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FED
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FED#FFFFFF#000000##000000
##786FED1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F1
Deuteranopia (green-blind)
#1E7BEA
Tritanopia (blue-blind)
#4C8BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #786fed;
/* rgb */ color: rgb(120, 111, 237);
/* oklch */ color: oklch(61.3% 0.184 282.8);
Tailwind
colors: {
  custom: {
    50: '#a698f4',
    500: '#786fed',
    950: '#000000',
  },
}
SCSS
$custom: #786fed;
$custom-light: #a698f4;
$custom-dark: #000000;
JSON
{
  "hex": "#786fed",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 244.286,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61339,
    "c": 0.18361,
    "h": 282.8
  },
  "luminance": 0.21476
}

Semantic roles & 50–950 ramp

primary
#786FED
secondary
#ECEFC9
accent
#DA0BCB
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #786FED

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

Preview Lab → · Contrast checker → · Palette generator →

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