#6C71FB#6C71FB

#6C71FB is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.8% C 0.202 H 277.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#6C71FB
RGBrgb(108, 113, 251)
HSLhsl(238, 95%, 70%)
HSVhsv(238, 57%, 98%)
CMYKcmyk(57%, 55%, 0%, 1.6%)
CIE-LABlab(53.99, 36.85, -69.73)
CIE-LCHlch(53.99, 78.87, 297.86°)
OKLaboklab(61.8% 0.0252 -0.1999)
OKLCHoklch(61.8% 0.202 277.2)
XYZxyz(29.4965, 21.9613, 93.9327)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71FB #FBF66C
analogous
#6CB8FB #6C71FB #AE6CFB
triadic
#6C71FB #FB6C71 #71FB6C
tetradic
#6C71FB #FB6CB8 #FBF66C #6CFBAE
square
#6C71FB #FB6CB8 #FBF66C #6CFBAE
split-complementary
#6C71FB #FBAE6C #B8FB6C
monochromatic
#060EE6 #3037F9 #6C71FB #A8ABFD #E1E2FE

Accessibility & contrast

On white

3.89
#6C71FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#6C71FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71FB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71FB#FFFFFF#000000##000000
##6C71FB1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007BF8
Tritanopia (blue-blind)
#0A91AB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c71fb;
/* rgb */ color: rgb(108, 113, 251);
/* oklch */ color: oklch(61.8% 0.202 277.2);
Tailwind
colors: {
  custom: {
    50: '#a199fd',
    500: '#6c71fb',
    950: '#000000',
  },
}
SCSS
$custom: #6c71fb;
$custom-light: #a199fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71fb",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 237.902,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61799,
    "c": 0.20151,
    "h": 277.2
  },
  "luminance": 0.21963
}

Semantic roles & 50–950 ramp

primary
#6C71FB
secondary
#F5F4CE
accent
#DD00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6C71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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