#7E6AEE#7E6AEE

#7E6AEE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.0% C 0.191 H 286.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7E6AEE
RGBrgb(126, 106, 238)
HSLhsl(249, 80%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(47.1%, 55.5%, 0%, 6.7%)
CIE-LABlab(52.86, 40.53, -64.25)
CIE-LCHlch(52.86, 75.97, 302.24°)
OKLaboklab(61.03% 0.0533 -0.1834)
OKLCHoklch(61.03% 0.191 286.2)
XYZxyz(29.1863, 20.9154, 83.3716)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6AEE #DAEE6A
analogous
#6A98EE #7E6AEE #C06AEE
triadic
#7E6AEE #EE7E6A #6AEE7E
tetradic
#7E6AEE #EE6A98 #DAEE6A #6AEEC0
square
#7E6AEE #EE6A98 #DAEE6A #6AEEC0
split-complementary
#7E6AEE #EEC06A #98EE6A
monochromatic
#3117C7 #4E33E8 #7E6AEE #AEA1F4 #DDD8FB

Accessibility & contrast

On white

4.05
#7E6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7E6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6AEE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6AEE#FFFFFF#000000##000000
##7E6AEE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1782F2
Deuteranopia (green-blind)
#117AEB
Tritanopia (blue-blind)
#5887A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6aee;
/* rgb */ color: rgb(126, 106, 238);
/* oklch */ color: oklch(61.0% 0.191 286.2);
Tailwind
colors: {
  custom: {
    50: '#aa95f4',
    500: '#7e6aee',
    950: '#000000',
  },
}
SCSS
$custom: #7e6aee;
$custom-light: #aa95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6aee",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 249.091,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61027,
    "c": 0.19097,
    "h": 286.2
  },
  "luminance": 0.20917
}

Semantic roles & 50–950 ramp

primary
#7E6AEE
secondary
#E8EFC5
accent
#DC0ABC
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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