#6C71FD#6C71FD

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

Color values

HEX#6C71FD
RGBrgb(108, 113, 253)
HSLhsl(238, 97%, 71%)
HSVhsv(238, 57%, 99%)
CMYKcmyk(57.3%, 55.3%, 0%, 0.8%)
CIE-LABlab(54.12, 37.48, -70.62)
CIE-LCHlch(54.12, 79.95, 297.96°)
OKLaboklab(61.94% 0.0252 -0.2025)
OKLCHoklch(61.94% 0.204 277.1)
XYZxyz(29.8134, 22.0881, 95.6018)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71FD #FDF86C
analogous
#6CB9FD #6C71FD #AF6CFD
triadic
#6C71FD #FD6C71 #71FD6C
tetradic
#6C71FD #FD6CB9 #FDF86C #6CFDAF
square
#6C71FD #FD6CB9 #FDF86C #6CFDAF
split-complementary
#6C71FD #FDAF6C #B9FD6C
monochromatic
#030BEB #3037FC #6C71FD #A8ABFE #E1E2FF

Accessibility & contrast

On white

3.88
#6C71FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#6C71FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71FD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71FD#FFFFFF#000000##000000
##6C71FD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6c71fd;
/* rgb */ color: rgb(108, 113, 253);
/* oklch */ color: oklch(61.9% 0.204 277.1);
Tailwind
colors: {
  custom: {
    50: '#a29aff',
    500: '#6c71fd',
    950: '#000000',
  },
}
SCSS
$custom: #6c71fd;
$custom-light: #a29aff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71fd",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 237.931,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.20411,
    "h": 277.1
  },
  "luminance": 0.2209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C71FD

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

Preview Lab → · Contrast checker → · Palette generator →

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