#6C78F7#6C78F7

#6C78F7 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.8% C 0.187 H 275.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6C78F7
RGBrgb(108, 120, 247)
HSLhsl(235, 90%, 70%)
HSVhsv(235, 56%, 97%)
CMYKcmyk(56.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(55.42, 31.41, -65.20)
CIE-LCHlch(55.42, 72.37, 295.72°)
OKLaboklab(62.79% 0.0181 -0.1866)
OKLCHoklch(62.79% 0.187 275.5)
XYZxyz(29.6839, 23.3344, 90.9174)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C78F7 #F7EB6C
analogous
#6CBEF7 #6C78F7 #A66CF7
triadic
#6C78F7 #F76C78 #78F76C
tetradic
#6C78F7 #F76CBE #F7EB6C #6CF7A6
square
#6C78F7 #F76CBE #F7EB6C #6CF7A6
split-complementary
#6C78F7 #F7A66C #BEF76C
monochromatic
#0C1EDD #3243F4 #6C78F7 #A6ADFA #E0E3FD

Accessibility & contrast

On white

3.71
#6C78F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#6C78F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C78F7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C78F7#FFFFFF#000000##000000
##6C78F71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#308BFB
Deuteranopia (green-blind)
#0F7FF4
Tritanopia (blue-blind)
#1595AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6c78f7;
/* rgb */ color: rgb(108, 120, 247);
/* oklch */ color: oklch(62.8% 0.187 275.5);
Tailwind
colors: {
  custom: {
    50: '#a09efb',
    500: '#6c78f7',
    950: '#000000',
  },
}
SCSS
$custom: #6c78f7;
$custom-light: #a09efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c78f7",
  "rgb": {
    "r": 108,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 234.82,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62785,
    "c": 0.18744,
    "h": 275.5
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#6C78F7
secondary
#F3F0CC
accent
#D200E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6C78F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6C78F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva