#6C71F7#6C71F7

#6C71F7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.196 H 277.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6C71F7
RGBrgb(108, 113, 247)
HSLhsl(238, 90%, 70%)
HSVhsv(238, 56%, 97%)
CMYKcmyk(56.3%, 54.3%, 0%, 3.1%)
CIE-LABlab(53.72, 35.60, -67.94)
CIE-LCHlch(53.72, 76.70, 297.65°)
OKLaboklab(61.52% 0.0251 -0.1947)
OKLCHoklch(61.52% 0.196 277.3)
XYZxyz(28.8726, 21.7118, 90.6470)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71F7 #F7F26C
analogous
#6CB6F7 #6C71F7 #AD6CF7
triadic
#6C71F7 #F76C71 #71F76C
tetradic
#6C71F7 #F76CB6 #F7F26C #6CF7AD
square
#6C71F7 #F76CB6 #F7F26C #6CF7AD
split-complementary
#6C71F7 #F7AD6C #B6F76C
monochromatic
#0C14DD #3239F4 #6C71F7 #A6A9FA #E0E1FD

Accessibility & contrast

On white

3.93
#6C71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6C71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71F7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71F7#FFFFFF#000000##000000
##6C71F71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#1890A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c71f7;
/* rgb */ color: rgb(108, 113, 247);
/* oklch */ color: oklch(61.5% 0.196 277.3);
Tailwind
colors: {
  custom: {
    50: '#a199fb',
    500: '#6c71f7',
    950: '#000000',
  },
}
SCSS
$custom: #6c71f7;
$custom-light: #a199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71f7",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 237.842,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.19628,
    "h": 277.3
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#6C71F7
secondary
#F3F2CC
accent
#DD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6C71F7

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

Preview Lab → · Contrast checker → · Palette generator →

#6C71F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva