#786DFF#786DFF

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

Color values

HEX#786DFF
RGBrgb(120, 109, 255)
HSLhsl(245, 100%, 71%)
HSVhsv(245, 57%, 100%)
CMYKcmyk(52.9%, 57.3%, 0%, 0%)
CIE-LABlab(54.18, 42.61, -71.58)
CIE-LCHlch(54.18, 83.30, 300.77°)
OKLaboklab(62.25% 0.0429 -0.2051)
OKLCHoklch(62.25% 0.21 281.8)
XYZxyz(31.2588, 22.1485, 97.2163)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786DFF #F4FF6D
analogous
#6DABFF #786DFF #C16DFF
triadic
#786DFF #FF786D #6DFF78
tetradic
#786DFF #FF6DAB #F4FF6D #6DFFC1
square
#786DFF #FF6DAB #F4FF6D #6DFFC1
split-complementary
#786DFF #FFC16D #ABFF6D
monochromatic
#1200F2 #3F30FF #786DFF #B1AAFF #E3E0FF

Accessibility & contrast

On white

3.87
#786DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##786DFF#FFFFFF#000000##000000
##786DFF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #786dff;
/* rgb */ color: rgb(120, 109, 255);
/* oklch */ color: oklch(62.2% 0.210 281.8);
Tailwind
colors: {
  custom: {
    50: '#a997ff',
    500: '#786dff',
    950: '#000000',
  },
}
SCSS
$custom: #786dff;
$custom-light: #a997ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786dff",
  "rgb": {
    "r": 120,
    "g": 109,
    "b": 255
  },
  "hsl": {
    "h": 244.521,
    "s": 100,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62248,
    "c": 0.20953,
    "h": 281.8
  },
  "luminance": 0.2215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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