#786EFB#786EFB

#786EFB is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.1% C 0.203 H 281.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#786EFB
RGBrgb(120, 110, 251)
HSLhsl(244, 95%, 71%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(52.2%, 56.2%, 0%, 1.6%)
CIE-LABlab(54.14, 40.83, -69.43)
CIE-LCHlch(54.14, 80.55, 300.46°)
OKLaboklab(62.13% 0.0419 -0.1988)
OKLCHoklch(62.13% 0.203 281.9)
XYZxyz(30.7289, 22.1082, 93.8962)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFB #F1FB6E
analogous
#6EAAFB #786EFB #BE6EFB
triadic
#786EFB #FB786E #6EFB78
tetradic
#786EFB #FB6EAA #F1FB6E #6EFBBE
square
#786EFB #FB6EAA #F1FB6E #6EFBBE
split-complementary
#786EFB #FBBE6E #AAFB6E
monochromatic
#1606E8 #4132F9 #786EFB #AFAAFD #E3E1FE

Accessibility & contrast

On white

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

On black

5.42
#786EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFB#FFFFFF#000000##000000
##786EFB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#408FAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786efb;
/* rgb */ color: rgb(120, 110, 251);
/* oklch */ color: oklch(62.1% 0.203 281.9);
Tailwind
colors: {
  custom: {
    50: '#a898fd',
    500: '#786efb',
    950: '#000000',
  },
}
SCSS
$custom: #786efb;
$custom-light: #a898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#786efb",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 244.255,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62131,
    "c": 0.20314,
    "h": 281.9
  },
  "luminance": 0.2211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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