#6A71F7#6A71F7

#6A71F7 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.4% C 0.197 H 276.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6A71F7
RGBrgb(106, 113, 247)
HSLhsl(237, 90%, 69%)
HSVhsv(237, 57%, 97%)
CMYKcmyk(57.1%, 54.3%, 0%, 3.1%)
CIE-LABlab(53.59, 35.23, -68.16)
CIE-LCHlch(53.59, 76.73, 297.34°)
OKLaboklab(61.38% 0.0228 -0.1954)
OKLCHoklch(61.38% 0.197 276.7)
XYZxyz(28.6321, 21.5878, 90.6357)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71F7 #F7F06A
analogous
#6AB8F7 #6A71F7 #AA6AF7
triadic
#6A71F7 #F76A71 #71F76A
tetradic
#6A71F7 #F76AB8 #F7F06A #6AF7AA
square
#6A71F7 #F76AB8 #F7F06A #6AF7AA
split-complementary
#6A71F7 #F7AA6A #B8F76A
monochromatic
#0C16DB #303AF4 #6A71F7 #A4A8FA #DEE0FD

Accessibility & contrast

On white

3.95
#6A71F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#6A71F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71F7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71F7#FFFFFF#000000##000000
##6A71F71.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1086FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0790A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a71f7;
/* rgb */ color: rgb(106, 113, 247);
/* oklch */ color: oklch(61.4% 0.197 276.7);
Tailwind
colors: {
  custom: {
    50: '#a099fb',
    500: '#6a71f7',
    950: '#000000',
  },
}
SCSS
$custom: #6a71f7;
$custom-light: #a099fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71f7",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 237.021,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.1967,
    "h": 276.7
  },
  "luminance": 0.2159
}

Semantic roles & 50–950 ramp

primary
#6A71F7
secondary
#F3F1CA
accent
#DA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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