#6C71F8#6C71F8

#6C71F8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.198 H 277.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6C71F8
RGBrgb(108, 113, 248)
HSLhsl(238, 91%, 70%)
HSVhsv(238, 56%, 97%)
CMYKcmyk(56.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(53.79, 35.91, -68.39)
CIE-LCHlch(53.79, 77.24, 297.70°)
OKLaboklab(61.59% 0.0251 -0.196)
OKLCHoklch(61.59% 0.198 277.3)
XYZxyz(29.0273, 21.7737, 91.4619)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71F8 #F8F36C
analogous
#6CB7F8 #6C71F8 #AD6CF8
triadic
#6C71F8 #F86C71 #71F86C
tetradic
#6C71F8 #F86CB7 #F8F36C #6CF8AD
square
#6C71F8 #F86CB7 #F8F36C #6CF8AD
split-complementary
#6C71F8 #F8AD6C #B7F86C
monochromatic
#0B12DF #3239F5 #6C71F8 #A6A9FB #E1E2FE

Accessibility & contrast

On white

3.92
#6C71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6C71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71F8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71F8#FFFFFF#000000##000000
##6C71F81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E86FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#1690AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c71f8;
/* rgb */ color: rgb(108, 113, 248);
/* oklch */ color: oklch(61.6% 0.198 277.3);
Tailwind
colors: {
  custom: {
    50: '#a199fb',
    500: '#6c71f8',
    950: '#000000',
  },
}
SCSS
$custom: #6c71f8;
$custom-light: #a199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71f8",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 237.857,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61586,
    "c": 0.19759,
    "h": 277.3
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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