#7E6EEA#7E6EEA

#7E6EEA is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.4% C 0.180 H 285.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E6EEA
RGBrgb(126, 110, 234)
HSLhsl(248, 75%, 67%)
HSVhsv(248, 53%, 92%)
CMYKcmyk(46.2%, 53%, 0%, 8.2%)
CIE-LABlab(53.52, 37.05, -60.95)
CIE-LCHlch(53.52, 71.32, 301.30°)
OKLaboklab(61.44% 0.0487 -0.1736)
OKLCHoklch(61.44% 0.18 285.7)
XYZxyz(29.0271, 21.5267, 80.4516)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EEA #DAEA6E
analogous
#6E9CEA #7E6EEA #BC6EEA
triadic
#7E6EEA #EA7E6E #6EEA7E
tetradic
#7E6EEA #EA6E9C #DAEA6E #6EEABC
square
#7E6EEA #EA6E9C #DAEA6E #6EEABC
split-complementary
#7E6EEA #EABC6E #9CEA6E
monochromatic
#311CC2 #4E39E2 #7E6EEA #AEA3F2 #DDD9F9

Accessibility & contrast

On white

3.96
#7E6EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7E6EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EEA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EEA#FFFFFF#000000##000000
##7E6EEA1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#2A7CE7
Tritanopia (blue-blind)
#5A89A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6eea;
/* rgb */ color: rgb(126, 110, 234);
/* oklch */ color: oklch(61.4% 0.180 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa98f1',
    500: '#7e6eea',
    950: '#000000',
  },
}
SCSS
$custom: #7e6eea;
$custom-light: #aa98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6eea",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 247.742,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.18035,
    "h": 285.7
  },
  "luminance": 0.21528
}

Semantic roles & 50–950 ramp

primary
#7E6EEA
secondary
#E8EDC7
accent
#D70FBD
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7E6EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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