#6B71F9#6B71F9

#6B71F9 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.6% C 0.199 H 276.9°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#6B71F9
RGBrgb(107, 113, 249)
HSLhsl(237, 92%, 70%)
HSVhsv(237, 57%, 98%)
CMYKcmyk(57%, 54.6%, 0%, 2.4%)
CIE-LABlab(53.79, 36.05, -68.95)
CIE-LCHlch(53.79, 77.80, 297.60°)
OKLaboklab(61.59% 0.024 -0.1977)
OKLCHoklch(61.59% 0.199 276.9)
XYZxyz(29.0619, 21.7735, 92.2754)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71F9 #F9F36B
analogous
#6BB8F9 #6B71F9 #AC6BF9
triadic
#6B71F9 #F96B71 #71F96B
tetradic
#6B71F9 #F96BB8 #F9F36B #6BF9AC
square
#6B71F9 #F96BB8 #F9F36B #6BF9AC
split-complementary
#6B71F9 #F9AC6B #B8F96B
monochromatic
#0912E0 #3039F7 #6B71F9 #A6A9FB #E1E2FE

Accessibility & contrast

On white

3.92
#6B71F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#6B71F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71F9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71F9#FFFFFF#000000##000000
##6B71F91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0787FE
Deuteranopia (green-blind)
#007BF6
Tritanopia (blue-blind)
#0891AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6b71f9;
/* rgb */ color: rgb(107, 113, 249);
/* oklch */ color: oklch(61.6% 0.199 276.9);
Tailwind
colors: {
  custom: {
    50: '#a199fc',
    500: '#6b71f9',
    950: '#000000',
  },
}
SCSS
$custom: #6b71f9;
$custom-light: #a199fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71f9",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 237.465,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6159,
    "c": 0.19911,
    "h": 276.9
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

primary
#6B71F9
secondary
#F4F2CC
accent
#DC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6B71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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