#6879F6#6879F6

#6879F6 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.6% C 0.186 H 274.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6879F6
RGBrgb(104, 121, 246)
HSLhsl(233, 89%, 69%)
HSVhsv(233, 58%, 96%)
CMYKcmyk(57.7%, 50.8%, 0%, 3.5%)
CIE-LABlab(55.35, 29.75, -64.77)
CIE-LCHlch(55.35, 71.27, 294.67°)
OKLaboklab(62.65% 0.0128 -0.1854)
OKLCHoklch(62.65% 0.186 274)
XYZxyz(29.1754, 23.2694, 90.1249)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6879F6 #F6E568
analogous
#68C0F6 #6879F6 #9E68F6
triadic
#6879F6 #F66879 #79F668
tetradic
#6879F6 #F668C0 #F6E568 #68F69E
square
#6879F6 #F668C0 #F6E568 #68F69E
split-complementary
#6879F6 #F69E68 #C0F668
monochromatic
#0D25D7 #2E46F3 #6879F6 #A2ACF9 #DCE0FD

Accessibility & contrast

On white

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

On black

5.65
#6879F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6879F6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6879F6#FFFFFF#000000##000000
##6879F61.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338BFA
Deuteranopia (green-blind)
#107FF3
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #6879f6;
/* rgb */ color: rgb(104, 121, 246);
/* oklch */ color: oklch(62.6% 0.186 274.0);
Tailwind
colors: {
  custom: {
    50: '#9e9ffa',
    500: '#6879f6',
    950: '#000000',
  },
}
SCSS
$custom: #6879f6;
$custom-light: #9e9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#6879f6",
  "rgb": {
    "r": 104,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 232.817,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6265,
    "c": 0.18581,
    "h": 274
  },
  "luminance": 0.23272
}

Semantic roles & 50–950 ramp

primary
#6879F6
secondary
#F2EDC8
accent
#CA00E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6879F6

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

Preview Lab → · Contrast checker → · Palette generator →

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