#786EFD#786EFD

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

Color values

HEX#786EFD
RGBrgb(120, 110, 253)
HSLhsl(244, 97%, 71%)
HSVhsv(244, 57%, 99%)
CMYKcmyk(52.6%, 56.5%, 0%, 0.8%)
CIE-LABlab(54.28, 41.43, -70.32)
CIE-LCHlch(54.28, 81.62, 300.50°)
OKLaboklab(62.27% 0.0419 -0.2014)
OKLCHoklch(62.27% 0.206 281.8)
XYZxyz(31.0458, 22.2349, 95.5653)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFD #F3FD6E
analogous
#6EABFD #786EFD #BF6EFD
triadic
#786EFD #FD786E #6EFD78
tetradic
#786EFD #FD6EAB #F3FD6E #6EFDBF
square
#786EFD #FD6EAB #F3FD6E #6EFDBF
split-complementary
#786EFD #FDBF6E #ABFD6E
monochromatic
#1403ED #4032FC #786EFD #B0AAFE #E3E1FF

Accessibility & contrast

On white

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

On black

5.45
#786EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFD#FFFFFF#000000##000000
##786EFD1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786efd;
/* rgb */ color: rgb(120, 110, 253);
/* oklch */ color: oklch(62.3% 0.206 281.8);
Tailwind
colors: {
  custom: {
    50: '#a898ff',
    500: '#786efd',
    950: '#000000',
  },
}
SCSS
$custom: #786efd;
$custom-light: #a898ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786efd",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 244.196,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62273,
    "c": 0.20571,
    "h": 281.8
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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