#7E6EE2#7E6EE2

#7E6EE2 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.9% C 0.170 H 286.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E6EE2
RGBrgb(126, 110, 226)
HSLhsl(248, 67%, 66%)
HSVhsv(248, 51%, 89%)
CMYKcmyk(44.2%, 51.3%, 0%, 11.4%)
CIE-LABlab(53.03, 34.75, -57.24)
CIE-LCHlch(53.03, 66.96, 301.26°)
OKLaboklab(60.92% 0.0483 -0.1627)
OKLCHoklch(60.92% 0.17 286.5)
XYZxyz(27.9036, 21.0773, 74.5349)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6EE2 #D2E26E
analogous
#6E98E2 #7E6EE2 #B86EE2
triadic
#7E6EE2 #E27E6E #6EE27E
tetradic
#7E6EE2 #E26E98 #D2E26E #6EE2B8
square
#7E6EE2 #E26E98 #D2E26E #6EE2B8
split-complementary
#7E6EE2 #E2B86E #98E26E
monochromatic
#3724B2 #513BD8 #7E6EE2 #ABA1EC #D9D4F6

Accessibility & contrast

On white

4.03
#7E6EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7E6EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6EE2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6EE2#FFFFFF#000000##000000
##7E6EE21.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#367BDF
Tritanopia (blue-blind)
#5F879E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6ee2;
/* rgb */ color: rgb(126, 110, 226);
/* oklch */ color: oklch(60.9% 0.170 286.5);
Tailwind
colors: {
  custom: {
    50: '#a998ec',
    500: '#7e6ee2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ee2;
$custom-light: #a998ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ee2",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 248.276,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.16977,
    "h": 286.5
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#7E6EE2
secondary
#E4E9C3
accent
#CF17B5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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