#786FFA#786FFA

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

Color values

HEX#786FFA
RGBrgb(120, 111, 250)
HSLhsl(244, 93%, 71%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(52%, 55.6%, 0%, 2%)
CIE-LABlab(54.30, 39.95, -68.62)
CIE-LCHlch(54.30, 79.40, 300.21°)
OKLaboklab(62.23% 0.0409 -0.1964)
OKLCHoklch(62.23% 0.201 281.8)
XYZxyz(30.6802, 22.2623, 93.1044)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FFA #F1FA6F
analogous
#6FABFA #786FFA #BD6FFA
triadic
#786FFA #FA786F #6FFA78
tetradic
#786FFA #FA6FAB #F1FA6F #6FFABD
square
#786FFA #FA6FAB #F1FA6F #6FFABD
split-complementary
#786FFA #FABD6F #ABFA6F
monochromatic
#1608E7 #4134F8 #786FFA #AFAAFC #E3E1FE

Accessibility & contrast

On white

3.85
#786FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##786FFA#FFFFFF#000000##000000
##786FFA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#418FAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #786ffa;
/* rgb */ color: rgb(120, 111, 250);
/* oklch */ color: oklch(62.2% 0.201 281.8);
Tailwind
colors: {
  custom: {
    50: '#a898fd',
    500: '#786ffa',
    950: '#000000',
  },
}
SCSS
$custom: #786ffa;
$custom-light: #a898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#786ffa",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 243.885,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.20058,
    "h": 281.8
  },
  "luminance": 0.22264
}

Semantic roles & 50–950 ramp

primary
#786FFA
secondary
#F3F5D0
accent
#E600D7
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #786FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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