#6878F7#6878F7

#6878F7 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.5% C 0.188 H 274.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6878F7
RGBrgb(104, 120, 247)
HSLhsl(233, 90%, 69%)
HSVhsv(233, 58%, 97%)
CMYKcmyk(57.9%, 51.4%, 0%, 3.1%)
CIE-LABlab(55.16, 30.67, -65.62)
CIE-LCHlch(55.16, 72.43, 295.05°)
OKLaboklab(62.53% 0.0139 -0.1879)
OKLCHoklch(62.53% 0.188 274.2)
XYZxyz(29.2084, 23.0892, 90.8951)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6878F7 #F7E768
analogous
#68C0F7 #6878F7 #A068F7
triadic
#6878F7 #F76878 #78F768
tetradic
#6878F7 #F768C0 #F7E768 #68F7A0
square
#6878F7 #F768C0 #F7E768 #68F7A0
split-complementary
#6878F7 #F7A068 #C0F768
monochromatic
#0C23D9 #2E44F4 #6878F7 #A2ACFA #DCE0FD

Accessibility & contrast

On white

3.74
#6878F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#6878F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6878F7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6878F7#FFFFFF#000000##000000
##6878F71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFB
Deuteranopia (green-blind)
#027EF4
Tritanopia (blue-blind)
#0095AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6878f7;
/* rgb */ color: rgb(104, 120, 247);
/* oklch */ color: oklch(62.5% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#9e9efb',
    500: '#6878f7',
    950: '#000000',
  },
}
SCSS
$custom: #6878f7;
$custom-light: #9e9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6878f7",
  "rgb": {
    "r": 104,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 233.287,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62531,
    "c": 0.18839,
    "h": 274.2
  },
  "luminance": 0.23091
}

Semantic roles & 50–950 ramp

primary
#6878F7
secondary
#F3EEC8
accent
#CC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6878F7

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

Preview Lab → · Contrast checker → · Palette generator →

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