#7E6DF4#7E6DF4

#7E6DF4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.195 H 284.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7E6DF4
RGBrgb(126, 109, 244)
HSLhsl(248, 86%, 69%)
HSVhsv(248, 55%, 96%)
CMYKcmyk(48.4%, 55.3%, 0%, 4.3%)
CIE-LABlab(53.92, 40.53, -65.88)
CIE-LCHlch(53.92, 77.35, 301.60°)
OKLaboklab(61.94% 0.0501 -0.1881)
OKLCHoklch(61.94% 0.195 284.9)
XYZxyz(30.3971, 21.9031, 88.1965)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF4 #E3F46D
analogous
#6DA0F4 #7E6DF4 #C26DF4
triadic
#7E6DF4 #F47E6D #6DF47E
tetradic
#7E6DF4 #F46DA0 #E3F46D #6DF4C2
square
#7E6DF4 #F46DA0 #E3F46D #6DF4C2
split-complementary
#7E6DF4 #F4C26D #A0F46D
monochromatic
#2910D6 #4C34F0 #7E6DF4 #B0A6F8 #E3DFFD

Accessibility & contrast

On white

3.90
#7E6DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7E6DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF4#FFFFFF#000000##000000
##7E6DF41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1585F9
Deuteranopia (green-blind)
#077DF1
Tritanopia (blue-blind)
#548BA6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6df4;
/* rgb */ color: rgb(126, 109, 244);
/* oklch */ color: oklch(61.9% 0.195 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab97f9',
    500: '#7e6df4',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df4;
$custom-light: #ab97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df4",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 247.556,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.1947,
    "h": 284.9
  },
  "luminance": 0.21905
}

Semantic roles & 50–950 ramp

primary
#7E6DF4
secondary
#EDF2CB
accent
#E303C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF4

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

Preview Lab → · Contrast checker → · Palette generator →

#7E6DF4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva