#786CFF#786CFF

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

Color values

HEX#786CFF
RGBrgb(120, 108, 255)
HSLhsl(245, 100%, 71%)
HSVhsv(245, 58%, 100%)
CMYKcmyk(52.9%, 57.6%, 0%, 0%)
CIE-LABlab(53.96, 43.19, -71.94)
CIE-LCHlch(53.96, 83.91, 300.98°)
OKLaboklab(62.08% 0.0439 -0.2062)
OKLCHoklch(62.08% 0.211 282)
XYZxyz(31.1527, 21.9363, 97.1809)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786CFF #F3FF6C
analogous
#6CA9FF #786CFF #C16CFF
triadic
#786CFF #FF786C #6CFF78
tetradic
#786CFF #FF6CA9 #F3FF6C #6CFFC1
square
#786CFF #FF6CA9 #F3FF6C #6CFFC1
split-complementary
#786CFF #FFC16C #A9FF6C
monochromatic
#1400F1 #402FFF #786CFF #B0A9FF #E3E0FF

Accessibility & contrast

On white

3.90
#786CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#786CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786CFF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786CFF#FFFFFF#000000##000000
##786CFF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CFC
Tritanopia (blue-blind)
#3C8EAB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #786cff;
/* rgb */ color: rgb(120, 108, 255);
/* oklch */ color: oklch(62.1% 0.211 282.0);
Tailwind
colors: {
  custom: {
    50: '#a996ff',
    500: '#786cff',
    950: '#000000',
  },
}
SCSS
$custom: #786cff;
$custom-light: #a996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#786cff",
  "rgb": {
    "r": 120,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 244.898,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.21078,
    "h": 282
  },
  "luminance": 0.21938
}

Semantic roles & 50–950 ramp

primary
#786CFF
secondary
#F4F7D0
accent
#E600D3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #786CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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