#7E6FEE#7E6FEE

#7E6FEE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.184 H 285.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E6FEE
RGBrgb(126, 111, 238)
HSLhsl(247, 79%, 68%)
HSVhsv(247, 53%, 93%)
CMYKcmyk(47.1%, 53.4%, 0%, 6.7%)
CIE-LABlab(54.00, 37.63, -62.41)
CIE-LCHlch(54.00, 72.87, 301.09°)
OKLaboklab(61.88% 0.0478 -0.1779)
OKLCHoklch(61.88% 0.184 285)
XYZxyz(29.7167, 21.9762, 83.5484)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FEE #DFEE6F
analogous
#6F9FEE #7E6FEE #BE6FEE
triadic
#7E6FEE #EE7E6F #6FEE7E
tetradic
#7E6FEE #EE6F9F #DFEE6F #6FEEBE
square
#7E6FEE #EE6F9F #DFEE6F #6FEEBE
split-complementary
#7E6FEE #EEBE6F #9FEE6F
monochromatic
#2D18CB #4D38E8 #7E6FEE #AFA6F4 #E0DCFB

Accessibility & contrast

On white

3.89
#7E6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7E6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FEE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FEE#FFFFFF#000000##000000
##7E6FEE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#257DEB
Tritanopia (blue-blind)
#588BA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6fee;
/* rgb */ color: rgb(126, 111, 238);
/* oklch */ color: oklch(61.9% 0.184 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa98f4',
    500: '#7e6fee',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fee;
$custom-light: #aa98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fee",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 247.087,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61877,
    "c": 0.18423,
    "h": 285
  },
  "luminance": 0.21978
}

Semantic roles & 50–950 ramp

primary
#7E6FEE
secondary
#EBF0C9
accent
#DB0AC2
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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