#7E6EEE#7E6EEE

#7E6EEE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.7% C 0.186 H 285.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E6EEE
RGBrgb(126, 110, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(47.1%, 53.8%, 0%, 6.7%)
CIE-LABlab(53.77, 38.21, -62.78)
CIE-LCHlch(53.77, 73.49, 301.33°)
OKLaboklab(61.71% 0.0489 -0.179)
OKLCHoklch(61.71% 0.186 285.3)
XYZxyz(29.6082, 21.7592, 83.5122)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EEE #DEEE6E
analogous
#6E9EEE #7E6EEE #BE6EEE
triadic
#7E6EEE #EE7E6E #6EEE7E
tetradic
#7E6EEE #EE6E9E #DEEE6E #6EEEBE
square
#7E6EEE #EE6E9E #DEEE6E #6EEEBE
split-complementary
#7E6EEE #EEBE6E #9EEE6E
monochromatic
#2E18CA #4D37E8 #7E6EEE #AFA5F4 #DFDCFB

Accessibility & contrast

On white

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

On black

5.35
#7E6EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EEE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EEE#FFFFFF#000000##000000
##7E6EEE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F2
Deuteranopia (green-blind)
#227DEB
Tritanopia (blue-blind)
#588AA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6eee;
/* rgb */ color: rgb(126, 110, 238);
/* oklch */ color: oklch(61.7% 0.186 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa98f4',
    500: '#7e6eee',
    950: '#000000',
  },
}
SCSS
$custom: #7e6eee;
$custom-light: #aa98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6eee",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 247.5,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.18559,
    "h": 285.3
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#7E6EEE
secondary
#EAEFC8
accent
#DB0AC1
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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