#6871F6#6871F6

#6871F6 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.196 H 276.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6871F6
RGBrgb(104, 113, 246)
HSLhsl(236, 89%, 69%)
HSVhsv(236, 58%, 96%)
CMYKcmyk(57.7%, 54.1%, 0%, 3.5%)
CIE-LABlab(53.39, 34.56, -67.93)
CIE-LCHlch(53.39, 76.22, 296.96°)
OKLaboklab(61.18% 0.0206 -0.1947)
OKLCHoklch(61.18% 0.196 276)
XYZxyz(28.2432, 21.4050, 89.8142)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6871F6 #F6ED68
analogous
#68B8F6 #6871F6 #A668F6
triadic
#6871F6 #F66871 #71F668
tetradic
#6871F6 #F668B8 #F6ED68 #68F6A6
square
#6871F6 #F668B8 #F6ED68 #68F6A6
split-complementary
#6871F6 #F6A668 #B8F668
monochromatic
#0D1AD7 #2E3BF3 #6871F6 #A2A7F9 #DCDEFD

Accessibility & contrast

On white

3.98
#6871F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6871F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6871F6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6871F6#FFFFFF#000000##000000
##6871F61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0090A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6871f6;
/* rgb */ color: rgb(104, 113, 246);
/* oklch */ color: oklch(61.2% 0.196 276.0);
Tailwind
colors: {
  custom: {
    50: '#9f99fa',
    500: '#6871f6',
    950: '#000000',
  },
}
SCSS
$custom: #6871f6;
$custom-light: #9f99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6871f6",
  "rgb": {
    "r": 104,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 236.197,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.19584,
    "h": 276
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#6871F6
secondary
#F2EFC8
accent
#D700E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6871F6

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

Preview Lab → · Contrast checker → · Palette generator →

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