#6887F6#6887F6

#6887F6 is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.3% C 0.168 H 269.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#6887F6
RGBrgb(104, 135, 246)
HSLhsl(227, 89%, 69%)
HSVhsv(227, 58%, 96%)
CMYKcmyk(57.7%, 45.1%, 0%, 3.5%)
CIE-LABlab(58.90, 21.33, -59.06)
CIE-LCHlch(58.90, 62.80, 289.85°)
OKLaboklab(65.35% -0.0013 -0.1684)
OKLCHoklch(65.35% 0.168 269.6)
XYZxyz(31.0019, 26.9224, 90.7337)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6887F6 #F6D768
analogous
#68CEF6 #6887F6 #9068F6
triadic
#6887F6 #F66887 #87F668
tetradic
#6887F6 #F668CE #F6D768 #68F690
square
#6887F6 #F668CE #F6D768 #68F690
split-complementary
#6887F6 #F69068 #CEF668
monochromatic
#0D39D7 #2E59F3 #6887F6 #A2B5F9 #DCE3FD

Accessibility & contrast

On white

3.29
#6887F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#6887F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6887F6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6887F6#FFFFFF#000000##000000
##6887F61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5394FA
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#00A0B3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #6887f6;
/* rgb */ color: rgb(104, 135, 246);
/* oklch */ color: oklch(65.3% 0.168 269.6);
Tailwind
colors: {
  custom: {
    50: '#9ea9fa',
    500: '#6887f6',
    950: '#000000',
  },
}
SCSS
$custom: #6887f6;
$custom-light: #9ea9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6887f6",
  "rgb": {
    "r": 104,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 226.901,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.16845,
    "h": 269.6
  },
  "luminance": 0.26925
}

Semantic roles & 50–950 ramp

primary
#6887F6
secondary
#F2E9C8
accent
#B300E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6887F6

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

Preview Lab → · Contrast checker → · Palette generator →

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