#6877F7#6877F7

#6877F7 is a light, vivid blue. Relative luminance 0.229; OKLCH L 62.3% C 0.190 H 274.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6877F7
RGBrgb(104, 119, 247)
HSLhsl(234, 90%, 69%)
HSVhsv(234, 58%, 97%)
CMYKcmyk(57.9%, 51.8%, 0%, 3.1%)
CIE-LABlab(54.92, 31.27, -66.02)
CIE-LCHlch(54.92, 73.05, 295.35°)
OKLaboklab(62.35% 0.0148 -0.1891)
OKLCHoklch(62.35% 0.19 274.5)
XYZxyz(29.0888, 22.8499, 90.8553)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877F7 #F7E868
analogous
#68BFF7 #6877F7 #A168F7
triadic
#6877F7 #F76877 #77F768
tetradic
#6877F7 #F768BF #F7E868 #68F7A1
square
#6877F7 #F768BF #F7E868 #68F7A1
split-complementary
#6877F7 #F7A168 #BFF768
monochromatic
#0C21D9 #2E43F4 #6877F7 #A2ABFA #DCE0FD

Accessibility & contrast

On white

3.77
#6877F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#6877F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877F7
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877F7#FFFFFF#000000##000000
##6877F71.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8AFC
Deuteranopia (green-blind)
#007EF4
Tritanopia (blue-blind)
#0094AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6877f7;
/* rgb */ color: rgb(104, 119, 247);
/* oklch */ color: oklch(62.3% 0.190 274.5);
Tailwind
colors: {
  custom: {
    50: '#9e9efb',
    500: '#6877f7',
    950: '#000000',
  },
}
SCSS
$custom: #6877f7;
$custom-light: #9e9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#6877f7",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 233.706,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.18964,
    "h": 274.5
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6877F7

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

Preview Lab → · Contrast checker → · Palette generator →

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