#7E6EEF#7E6EEF

#7E6EEF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.187 H 285.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6EEF
RGBrgb(126, 110, 239)
HSLhsl(247, 80%, 68%)
HSVhsv(247, 54%, 94%)
CMYKcmyk(47.3%, 54%, 0%, 6.3%)
CIE-LABlab(53.83, 38.50, -63.24)
CIE-LCHlch(53.83, 74.03, 301.33°)
OKLaboklab(61.77% 0.0489 -0.1804)
OKLCHoklch(61.77% 0.187 285.2)
XYZxyz(29.7555, 21.8181, 84.2881)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EEF #DFEF6E
analogous
#6E9EEF #7E6EEF #BE6EEF
triadic
#7E6EEF #EF7E6E #6EEF7E
tetradic
#7E6EEF #EF6E9E #DFEF6E #6EEFBE
square
#7E6EEF #EF6E9E #DFEF6E #6EEFBE
split-complementary
#7E6EEF #EFBE6E #9EEF6E
monochromatic
#2D17CC #4D37E9 #7E6EEF #AFA5F5 #E0DCFB

Accessibility & contrast

On white

3.92
#7E6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E6EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EEF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EEF#FFFFFF#000000##000000
##7E6EEF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2684F3
Deuteranopia (green-blind)
#1F7DEC
Tritanopia (blue-blind)
#578BA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6eef;
/* rgb */ color: rgb(126, 110, 239);
/* oklch */ color: oklch(61.8% 0.187 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa98f5',
    500: '#7e6eef',
    950: '#000000',
  },
}
SCSS
$custom: #7e6eef;
$custom-light: #aa98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6eef",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 239
  },
  "hsl": {
    "h": 247.442,
    "s": 80.124,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.1869,
    "h": 285.2
  },
  "luminance": 0.21819
}

Semantic roles & 50–950 ramp

primary
#7E6EEF
secondary
#EBF0C9
accent
#DC09C2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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