#6D71EA#6D71EA

#6D71EA is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.7% C 0.179 H 278.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6D71EA
RGBrgb(109, 113, 234)
HSLhsl(238, 75%, 67%)
HSVhsv(238, 53%, 92%)
CMYKcmyk(53.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(52.95, 31.72, -61.93)
CIE-LCHlch(52.95, 69.58, 297.12°)
OKLaboklab(60.69% 0.0256 -0.177)
OKLCHoklch(60.69% 0.179 278.2)
XYZxyz(27.0584, 21.0002, 80.4536)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D71EA #EAE66D
analogous
#6DB0EA #6D71EA #A86DEA
triadic
#6D71EA #EA6D71 #71EA6D
tetradic
#6D71EA #EA6DB0 #EAE66D #6DEAA8
square
#6D71EA #EA6DB0 #EAE66D #6DEAA8
split-complementary
#6D71EA #EAA86D #B0EA6D
monochromatic
#1C21C1 #373DE2 #6D71EA #A3A5F2 #D8D9F9

Accessibility & contrast

On white

4.04
#6D71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6D71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D71EA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D71EA#FFFFFF#000000##000000
##6D71EA1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#1B79E7
Tritanopia (blue-blind)
#328CA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6d71ea;
/* rgb */ color: rgb(109, 113, 234);
/* oklch */ color: oklch(60.7% 0.179 278.2);
Tailwind
colors: {
  custom: {
    50: '#a099f1',
    500: '#6d71ea',
    950: '#000000',
  },
}
SCSS
$custom: #6d71ea;
$custom-light: #a099f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d71ea",
  "rgb": {
    "r": 109,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 238.08,
    "s": 74.85,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.1788,
    "h": 278.2
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#6D71EA
secondary
#EDECC6
accent
#D10ED7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6D71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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