#786EFC#786EFC

#786EFC is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.2% C 0.204 H 281.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#786EFC
RGBrgb(120, 110, 252)
HSLhsl(244, 96%, 71%)
HSVhsv(244, 56%, 99%)
CMYKcmyk(52.4%, 56.3%, 0%, 1.2%)
CIE-LABlab(54.21, 41.13, -69.88)
CIE-LCHlch(54.21, 81.09, 300.48°)
OKLaboklab(62.2% 0.0419 -0.2001)
OKLCHoklch(62.2% 0.204 281.8)
XYZxyz(30.8869, 22.1714, 94.7286)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFC #F2FC6E
analogous
#6EABFC #786EFC #BF6EFC
triadic
#786EFC #FC786E #6EFC78
tetradic
#786EFC #FC6EAB #F2FC6E #6EFCBF
square
#786EFC #FC6EAB #F2FC6E #6EFCBF
split-complementary
#786EFC #FCBF6E #ABFC6E
monochromatic
#1505EB #4032FB #786EFC #B0AAFD #E3E1FE

Accessibility & contrast

On white

3.86
#786EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#786EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFC#FFFFFF#000000##000000
##786EFC1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF9
Tritanopia (blue-blind)
#3F8FAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #786efc;
/* rgb */ color: rgb(120, 110, 252);
/* oklch */ color: oklch(62.2% 0.204 281.8);
Tailwind
colors: {
  custom: {
    50: '#a898fe',
    500: '#786efc',
    950: '#000000',
  },
}
SCSS
$custom: #786efc;
$custom-light: #a898fe;
$custom-dark: #000000;
JSON
{
  "hex": "#786efc",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 244.225,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62202,
    "c": 0.20443,
    "h": 281.8
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#786EFC
secondary
#F3F6D0
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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