#786FF9#786FF9

#786FF9 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.199 H 281.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#786FF9
RGBrgb(120, 111, 249)
HSLhsl(244, 92%, 71%)
HSVhsv(244, 55%, 98%)
CMYKcmyk(51.8%, 55.4%, 0%, 2.4%)
CIE-LABlab(54.24, 39.65, -68.17)
CIE-LCHlch(54.24, 78.86, 300.19°)
OKLaboklab(62.16% 0.0409 -0.195)
OKLCHoklch(62.16% 0.199 281.8)
XYZxyz(30.5238, 22.1997, 92.2807)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786FF9 #F0F96F
analogous
#6FABF9 #786FF9 #BD6FF9
triadic
#786FF9 #F9786F #6FF978
tetradic
#786FF9 #F96FAB #F0F96F #6FF9BD
square
#786FF9 #F96FAB #F0F96F #6FF9BD
split-complementary
#786FF9 #F9BD6F #ABF96F
monochromatic
#180AE4 #4134F7 #786FF9 #AFAAFB #E3E2FE

Accessibility & contrast

On white

3.86
#786FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#786FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #786FF9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786FF9#FFFFFF#000000##000000
##786FF91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0687FE
Deuteranopia (green-blind)
#007DF6
Tritanopia (blue-blind)
#428FA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #786ff9;
/* rgb */ color: rgb(120, 111, 249);
/* oklch */ color: oklch(62.2% 0.199 281.8);
Tailwind
colors: {
  custom: {
    50: '#a898fc',
    500: '#786ff9',
    950: '#000000',
  },
}
SCSS
$custom: #786ff9;
$custom-light: #a898fc;
$custom-dark: #000000;
JSON
{
  "hex": "#786ff9",
  "rgb": {
    "r": 120,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 243.913,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62161,
    "c": 0.19928,
    "h": 281.8
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #786FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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