#786EFF#786EFF

#786EFF is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.4% C 0.208 H 281.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#786EFF
RGBrgb(120, 110, 255)
HSLhsl(244, 100%, 72%)
HSVhsv(244, 57%, 100%)
CMYKcmyk(52.9%, 56.9%, 0%, 0%)
CIE-LABlab(54.41, 42.03, -71.21)
CIE-LCHlch(54.41, 82.69, 300.55°)
OKLaboklab(62.42% 0.0419 -0.204)
OKLCHoklch(62.42% 0.208 281.6)
XYZxyz(31.3661, 22.3631, 97.2521)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFF #F5FF6E
analogous
#6EADFF #786EFF #C16EFF
triadic
#786EFF #FF786E #6EFF78
tetradic
#786EFF #FF6EAD #F5FF6E #6EFFC1
square
#786EFF #FF6EAD #F5FF6E #6EFFC1
split-complementary
#786EFF #FFC16E #ADFF6E
monochromatic
#1100F3 #3F31FF #786EFF #B1ABFF #E3E0FF

Accessibility & contrast

On white

3.84
#786EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#786EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFF#FFFFFF#000000##000000
##786EFF1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786eff;
/* rgb */ color: rgb(120, 110, 255);
/* oklch */ color: oklch(62.4% 0.208 281.6);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#786eff',
    950: '#000000',
  },
}
SCSS
$custom: #786eff;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786eff",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 244.138,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62415,
    "c": 0.20826,
    "h": 281.6
  },
  "luminance": 0.22365
}

Semantic roles & 50–950 ramp

primary
#786EFF
secondary
#F4F7D2
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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