#6C71F2#6C71F2

#6C71F2 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.2% C 0.190 H 277.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6C71F2
RGBrgb(108, 113, 242)
HSLhsl(238, 84%, 69%)
HSVhsv(238, 55%, 95%)
CMYKcmyk(55.4%, 53.3%, 0%, 5.1%)
CIE-LABlab(53.39, 34.03, -65.69)
CIE-LCHlch(53.39, 73.98, 297.39°)
OKLaboklab(61.17% 0.0249 -0.188)
OKLCHoklch(61.17% 0.19 277.5)
XYZxyz(28.1114, 21.4073, 86.6379)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C71F2 #F2ED6C
analogous
#6CB4F2 #6C71F2 #AA6CF2
triadic
#6C71F2 #F26C71 #71F26C
tetradic
#6C71F2 #F26CB4 #F2ED6C #6CF2AA
square
#6C71F2 #F26CB4 #F2ED6C #6CF2AA
split-complementary
#6C71F2 #F2AA6C #B4F26C
monochromatic
#121AD1 #343BED #6C71F2 #A4A7F7 #DCDEFC

Accessibility & contrast

On white

3.98
#6C71F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#6C71F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C71F2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C71F2#FFFFFF#000000##000000
##6C71F21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#238FA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6c71f2;
/* rgb */ color: rgb(108, 113, 242);
/* oklch */ color: oklch(61.2% 0.190 277.5);
Tailwind
colors: {
  custom: {
    50: '#a099f7',
    500: '#6c71f2',
    950: '#000000',
  },
}
SCSS
$custom: #6c71f2;
$custom-light: #a099f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c71f2",
  "rgb": {
    "r": 108,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 237.761,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.18969,
    "h": 277.5
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

primary
#6C71F2
secondary
#F1EFC9
accent
#D805E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6C71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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