#786EFA#786EFA

#786EFA is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.1% C 0.202 H 282.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#786EFA
RGBrgb(120, 110, 250)
HSLhsl(244, 93%, 71%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(52%, 56%, 0%, 2%)
CIE-LABlab(54.08, 40.53, -68.99)
CIE-LCHlch(54.08, 80.01, 300.44°)
OKLaboklab(62.06% 0.0419 -0.1975)
OKLCHoklch(62.06% 0.202 282)
XYZxyz(30.5717, 22.0453, 93.0682)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786EFA #F0FA6E
analogous
#6EAAFA #786EFA #BE6EFA
triadic
#786EFA #FA786E #6EFA78
tetradic
#786EFA #FA6EAA #F0FA6E #6EFABE
square
#786EFA #FA6EAA #F0FA6E #6EFABE
split-complementary
#786EFA #FABE6E #AAFA6E
monochromatic
#1808E6 #4133F8 #786EFA #AFA9FC #E3E1FE

Accessibility & contrast

On white

3.88
#786EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#786EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786EFA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786EFA#FFFFFF#000000##000000
##786EFA1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF7
Tritanopia (blue-blind)
#418EA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786efa;
/* rgb */ color: rgb(120, 110, 250);
/* oklch */ color: oklch(62.1% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#a898fd',
    500: '#786efa',
    950: '#000000',
  },
}
SCSS
$custom: #786efa;
$custom-light: #a898fd;
$custom-dark: #000000;
JSON
{
  "hex": "#786efa",
  "rgb": {
    "r": 120,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 244.286,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.20186,
    "h": 282
  },
  "luminance": 0.22047
}

Semantic roles & 50–950 ramp

primary
#786EFA
secondary
#F2F5CF
accent
#E600D5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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