#6D71EC#6D71EC

#6D71EC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.181 H 278.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6D71EC
RGBrgb(109, 113, 236)
HSLhsl(238, 77%, 68%)
HSVhsv(238, 54%, 93%)
CMYKcmyk(53.8%, 52.1%, 0%, 7.5%)
CIE-LABlab(53.08, 32.35, -62.85)
CIE-LCHlch(53.08, 70.68, 297.23°)
OKLaboklab(60.83% 0.0257 -0.1797)
OKLCHoklch(60.83% 0.181 278.1)
XYZxyz(27.3473, 21.1158, 81.9753)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D71EC #ECE86D
analogous
#6DB1EC #6D71EC #A86DEC
triadic
#6D71EC #EC6D71 #71EC6D
tetradic
#6D71EC #EC6DB1 #ECE86D #6DECA8
square
#6D71EC #EC6DB1 #ECE86D #6DECA8
split-complementary
#6D71EC #ECA86D #B1EC6D
monochromatic
#1A1FC5 #373CE5 #6D71EC #A3A6F3 #D9DAFA

Accessibility & contrast

On white

4.02
#6D71EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6D71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D71EC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D71EC#FFFFFF#000000##000000
##6D71EC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C84F0
Deuteranopia (green-blind)
#147AE9
Tritanopia (blue-blind)
#308DA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6d71ec;
/* rgb */ color: rgb(109, 113, 236);
/* oklch */ color: oklch(60.8% 0.181 278.1);
Tailwind
colors: {
  custom: {
    50: '#a099f3',
    500: '#6d71ec',
    950: '#000000',
  },
}
SCSS
$custom: #6d71ec;
$custom-light: #a099f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d71ec",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 238.11,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.18149,
    "h": 278.1
  },
  "luminance": 0.21118
}

Semantic roles & 50–950 ramp

primary
#6D71EC
secondary
#EEEDC7
accent
#D30CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #6D71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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