#6787F7#6787F7

#6787F7 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.4% C 0.170 H 269.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6787F7
RGBrgb(103, 135, 247)
HSLhsl(227, 90%, 69%)
HSVhsv(227, 58%, 97%)
CMYKcmyk(58.3%, 45.3%, 0%, 3.1%)
CIE-LABlab(58.90, 21.46, -59.62)
CIE-LCHlch(58.90, 63.36, 289.80°)
OKLaboklab(65.35% -0.0021 -0.1701)
OKLCHoklch(65.35% 0.17 269.3)
XYZxyz(31.0404, 26.9244, 91.5388)
Luminance0.2693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6787F7 #F7D767
analogous
#67CFF7 #6787F7 #8F67F7
triadic
#6787F7 #F76787 #87F767
tetradic
#6787F7 #F767CF #F7D767 #67F78F
square
#6787F7 #F767CF #F7D767 #67F78F
split-complementary
#6787F7 #F78F67 #CFF767
monochromatic
#0B39D8 #2D59F4 #6787F7 #A1B5FA #DBE3FD

Accessibility & contrast

On white

3.29
#6787F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#6787F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6787F7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6787F7#FFFFFF#000000##000000
##6787F71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5294FB
Deuteranopia (green-blind)
#3D88F5
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6787f7;
/* rgb */ color: rgb(103, 135, 247);
/* oklch */ color: oklch(65.4% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#9da9fa',
    500: '#6787f7',
    950: '#000000',
  },
}
SCSS
$custom: #6787f7;
$custom-light: #9da9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6787f7",
  "rgb": {
    "r": 103,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 226.667,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.17009,
    "h": 269.3
  },
  "luminance": 0.26927
}

Semantic roles & 50–950 ramp

primary
#6787F7
secondary
#F2E9C7
accent
#B300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6787F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6787F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva