#786DFA#786DFA

#786DFA is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.9% C 0.203 H 282.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#786DFA
RGBrgb(120, 109, 250)
HSLhsl(245, 93%, 70%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(52%, 56.4%, 0%, 2%)
CIE-LABlab(53.85, 41.12, -69.36)
CIE-LCHlch(53.85, 80.63, 300.66°)
OKLaboklab(61.89% 0.043 -0.1985)
OKLCHoklch(61.89% 0.203 282.2)
XYZxyz(30.4644, 21.8307, 93.0324)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DFA #EFFA6D
analogous
#6DA8FA #786DFA #BE6DFA
triadic
#786DFA #FA786D #6DFA78
tetradic
#786DFA #FA6DA8 #EFFA6D #6DFABE
square
#786DFA #FA6DA8 #EFFA6D #6DFABE
split-complementary
#786DFA #FABE6D #A8FA6D
monochromatic
#1908E5 #4132F8 #786DFA #AFA8FC #E4E1FE

Accessibility & contrast

On white

3.91
#786DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#786DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786DFA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786DFA#FFFFFF#000000##000000
##786DFA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#418EA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786dfa;
/* rgb */ color: rgb(120, 109, 250);
/* oklch */ color: oklch(61.9% 0.203 282.2);
Tailwind
colors: {
  custom: {
    50: '#a897fd',
    500: '#786dfa',
    950: '#000000',
  },
}
SCSS
$custom: #786dfa;
$custom-light: #a897fd;
$custom-dark: #000000;
JSON
{
  "hex": "#786dfa",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 250
  },
  "hsl": {
    "h": 244.681,
    "s": 93.377,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61892,
    "c": 0.20314,
    "h": 282.2
  },
  "luminance": 0.21832
}

Semantic roles & 50–950 ramp

primary
#786DFA
secondary
#F2F5CE
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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