#6D71F8#6D71F8

#6D71F8 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.197 H 277.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6D71F8
RGBrgb(109, 113, 248)
HSLhsl(238, 91%, 70%)
HSVhsv(238, 56%, 97%)
CMYKcmyk(56%, 54.4%, 0%, 2.7%)
CIE-LABlab(53.85, 36.09, -68.27)
CIE-LCHlch(53.85, 77.23, 297.86°)
OKLaboklab(61.65% 0.0262 -0.1956)
OKLCHoklch(61.65% 0.197 277.6)
XYZxyz(29.1497, 21.8368, 91.4676)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D71F8 #F8F46D
analogous
#6DB7F8 #6D71F8 #AE6DF8
triadic
#6D71F8 #F86D71 #71F86D
tetradic
#6D71F8 #F86DB7 #F8F46D #6DF8AE
square
#6D71F8 #F86DB7 #F8F46D #6DF8AE
split-complementary
#6D71F8 #F8AE6D #B7F86D
monochromatic
#0B11E0 #3338F5 #6D71F8 #A7AAFB #E2E3FE

Accessibility & contrast

On white

3.91
#6D71F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6D71F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D71F8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D71F8#FFFFFF#000000##000000
##6D71F81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F87FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#1C90AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6d71f8;
/* rgb */ color: rgb(109, 113, 248);
/* oklch */ color: oklch(61.7% 0.197 277.6);
Tailwind
colors: {
  custom: {
    50: '#a299fb',
    500: '#6d71f8',
    950: '#000000',
  },
}
SCSS
$custom: #6d71f8;
$custom-light: #a299fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d71f8",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 238.273,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.61654,
    "c": 0.19738,
    "h": 277.6
  },
  "luminance": 0.21839
}

Semantic roles & 50–950 ramp

primary
#6D71F8
secondary
#F4F3CD
accent
#DF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6D71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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