#6879F7#6879F7

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

Color values

HEX#6879F7
RGBrgb(104, 121, 247)
HSLhsl(233, 90%, 69%)
HSVhsv(233, 58%, 97%)
CMYKcmyk(57.9%, 51%, 0%, 3.1%)
CIE-LABlab(55.41, 30.07, -65.22)
CIE-LCHlch(55.41, 71.82, 294.75°)
OKLaboklab(62.72% 0.0129 -0.1867)
OKLCHoklch(62.72% 0.187 273.9)
XYZxyz(29.3293, 23.3310, 90.9354)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F7 #F7E668
analogous
#68C1F7 #6879F7 #9F68F7
triadic
#6879F7 #F76879 #79F768
tetradic
#6879F7 #F768C1 #F7E668 #68F79F
square
#6879F7 #F768C1 #F7E668 #68F79F
split-complementary
#6879F7 #F79F68 #C1F768
monochromatic
#0C24D9 #2E45F4 #6879F7 #A2ADFA #DCE0FD

Accessibility & contrast

On white

3.71
#6879F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#6879F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F7#FFFFFF#000000##000000
##6879F71.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)
#328BFB
Deuteranopia (green-blind)
#0B7FF4
Tritanopia (blue-blind)
#0096AD
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6879f7;
/* rgb */ color: rgb(104, 121, 247);
/* oklch */ color: oklch(62.7% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#9e9ffb',
    500: '#6879f7',
    950: '#000000',
  },
}
SCSS
$custom: #6879f7;
$custom-light: #9e9ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f7",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 232.867,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62718,
    "c": 0.18714,
    "h": 273.9
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6879F7

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

Preview Lab → · Contrast checker → · Palette generator →

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