#6B71F8#6B71F8

#6B71F8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.5% C 0.198 H 277.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#6B71F8
RGBrgb(107, 113, 248)
HSLhsl(237, 91%, 70%)
HSVhsv(237, 57%, 97%)
CMYKcmyk(56.9%, 54.4%, 0%, 2.7%)
CIE-LABlab(53.72, 35.73, -68.50)
CIE-LCHlch(53.72, 77.26, 297.55°)
OKLaboklab(61.52% 0.024 -0.1963)
OKLCHoklch(61.52% 0.198 277)
XYZxyz(28.9064, 21.7113, 91.4562)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B71F8 #F8F26B
analogous
#6BB7F8 #6B71F8 #AC6BF8
triadic
#6B71F8 #F86B71 #71F86B
tetradic
#6B71F8 #F86BB7 #F8F26B #6BF8AC
square
#6B71F8 #F86BB7 #F8F26B #6BF8AC
split-complementary
#6B71F8 #F8AC6B #B7F86B
monochromatic
#0B14DE #3139F5 #6B71F8 #A5A9FB #E0E1FE

Accessibility & contrast

On white

3.93
#6B71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#6B71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B71F8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B71F8#FFFFFF#000000##000000
##6B71F81.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D86FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#0D90AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6b71f8;
/* rgb */ color: rgb(107, 113, 248);
/* oklch */ color: oklch(61.5% 0.198 277.0);
Tailwind
colors: {
  custom: {
    50: '#a099fb',
    500: '#6b71f8',
    950: '#000000',
  },
}
SCSS
$custom: #6b71f8;
$custom-light: #a099fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b71f8",
  "rgb": {
    "r": 107,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 237.447,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61519,
    "c": 0.1978,
    "h": 277
  },
  "luminance": 0.21713
}

Semantic roles & 50–950 ramp

primary
#6B71F8
secondary
#F4F2CB
accent
#DC00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6B71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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