#6C71FC#6C71FC

#6C71FC is a mid, highly saturated blue. Relative luminance 0.220; OKLCH L 61.9% C 0.203 H 277.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6C71FC
RGBrgb(108, 113, 252)
HSLhsl(238, 96%, 71%)
HSVhsv(238, 57%, 99%)
CMYKcmyk(57.1%, 55.2%, 0%, 1.2%)
CIE-LABlab(54.05, 37.17, -70.17)
CIE-LCHlch(54.05, 79.41, 297.91°)
OKLaboklab(61.87% 0.0252 -0.2012)
OKLCHoklch(61.87% 0.203 277.1)
XYZxyz(29.6545, 22.0245, 94.7651)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71FC #FCF76C
analogous
#6CB9FC #6C71FC #AF6CFC
triadic
#6C71FC #FC6C71 #71FC6C
tetradic
#6C71FC #FC6CB9 #FCF76C #6CFCAF
square
#6C71FC #FC6CB9 #FCF76C #6CFCAF
split-complementary
#6C71FC #FCAF6C #B9FC6C
monochromatic
#050DE9 #3037FB #6C71FC #A8ABFD #E1E2FE

Accessibility & contrast

On white

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

On black

5.41
#6C71FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71FC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71FC#FFFFFF#000000##000000
##6C71FC1.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#0592AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c71fc;
/* rgb */ color: rgb(108, 113, 252);
/* oklch */ color: oklch(61.9% 0.203 277.1);
Tailwind
colors: {
  custom: {
    50: '#a29afe',
    500: '#6c71fc',
    950: '#000000',
  },
}
SCSS
$custom: #6c71fc;
$custom-light: #a29afe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71fc",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 237.917,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.20281,
    "h": 277.1
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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