#7E6FE5#7E6FE5

#7E6FE5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.172 H 285.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7E6FE5
RGBrgb(126, 111, 229)
HSLhsl(248, 69%, 67%)
HSVhsv(248, 52%, 90%)
CMYKcmyk(45%, 51.5%, 0%, 10.2%)
CIE-LABlab(53.45, 35.02, -58.26)
CIE-LCHlch(53.45, 67.98, 301.01°)
OKLaboklab(61.29% 0.0473 -0.1657)
OKLCHoklch(61.29% 0.172 285.9)
XYZxyz(28.4274, 21.4604, 76.7580)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FE5 #D6E56F
analogous
#6F9BE5 #7E6FE5 #B96FE5
triadic
#7E6FE5 #E57E6F #6FE57E
tetradic
#7E6FE5 #E56F9B #D6E56F #6FE5B9
square
#7E6FE5 #E56F9B #D6E56F #6FE5B9
split-complementary
#7E6FE5 #E5B96F #9BE56F
monochromatic
#3421B8 #503BDC #7E6FE5 #ACA3EE #DBD7F8

Accessibility & contrast

On white

3.97
#7E6FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7E6FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FE5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FE5#FFFFFF#000000##000000
##7E6FE51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783E9
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#5D889F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6fe5;
/* rgb */ color: rgb(126, 111, 229);
/* oklch */ color: oklch(61.3% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#a998ee',
    500: '#7e6fe5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fe5;
$custom-light: #a998ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fe5",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 229
  },
  "hsl": {
    "h": 247.627,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61288,
    "c": 0.17237,
    "h": 285.9
  },
  "luminance": 0.21462
}

Semantic roles & 50–950 ramp

primary
#7E6FE5
secondary
#E6EBC5
accent
#D114B9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E6FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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