#6A71F6#6A71F6

#6A71F6 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.195 H 276.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6A71F6
RGBrgb(106, 113, 246)
HSLhsl(237, 89%, 69%)
HSVhsv(237, 57%, 96%)
CMYKcmyk(56.9%, 54.1%, 0%, 3.5%)
CIE-LABlab(53.52, 34.92, -67.71)
CIE-LCHlch(53.52, 76.19, 297.28°)
OKLaboklab(61.31% 0.0228 -0.194)
OKLCHoklch(61.31% 0.195 276.7)
XYZxyz(28.4782, 21.5262, 89.8252)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A71F6 #F6EF6A
analogous
#6AB7F6 #6A71F6 #A96AF6
triadic
#6A71F6 #F66A71 #71F66A
tetradic
#6A71F6 #F66AB7 #F6EF6A #6AF6A9
square
#6A71F6 #F66AB7 #F6EF6A #6AF6A9
split-complementary
#6A71F6 #F6A96A #B7F66A
monochromatic
#0D17D9 #303AF3 #6A71F6 #A4A8F9 #DDDFFD

Accessibility & contrast

On white

3.96
#6A71F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#6A71F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A71F6
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A71F6#FFFFFF#000000##000000
##6A71F61.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1486FB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#0C90A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6a71f6;
/* rgb */ color: rgb(106, 113, 246);
/* oklch */ color: oklch(61.3% 0.195 276.7);
Tailwind
colors: {
  custom: {
    50: '#a099fa',
    500: '#6a71f6',
    950: '#000000',
  },
}
SCSS
$custom: #6a71f6;
$custom-light: #a099fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a71f6",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 237,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61312,
    "c": 0.19538,
    "h": 276.7
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#6A71F6
secondary
#F2F0C9
accent
#DA00E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6A71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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