#7E6DE2#7E6DE2

#7E6DE2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.7% C 0.171 H 286.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7E6DE2
RGBrgb(126, 109, 226)
HSLhsl(249, 67%, 66%)
HSVhsv(249, 52%, 89%)
CMYKcmyk(44.2%, 51.8%, 0%, 11.4%)
CIE-LABlab(52.80, 35.34, -57.62)
CIE-LCHlch(52.80, 67.59, 301.52°)
OKLaboklab(60.74% 0.0495 -0.1639)
OKLCHoklch(60.74% 0.171 286.8)
XYZxyz(27.7963, 20.8628, 74.4991)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DE2 #D1E26D
analogous
#6D96E2 #7E6DE2 #B86DE2
triadic
#7E6DE2 #E27E6D #6DE27E
tetradic
#7E6DE2 #E26D96 #D1E26D #6DE2B8
square
#7E6DE2 #E26D96 #D1E26D #6DE2B8
split-complementary
#7E6DE2 #E2B86D #96E26D
monochromatic
#3823B1 #513AD8 #7E6DE2 #ABA0EC #D8D3F6

Accessibility & contrast

On white

4.06
#7E6DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7E6DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DE2#FFFFFF#000000##000000
##7E6DE21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#347BDF
Tritanopia (blue-blind)
#5F869D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7e6de2;
/* rgb */ color: rgb(126, 109, 226);
/* oklch */ color: oklch(60.7% 0.171 286.8);
Tailwind
colors: {
  custom: {
    50: '#a997ec',
    500: '#7e6de2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6de2;
$custom-light: #a997ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6de2",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 248.718,
    "s": 66.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.17117,
    "h": 286.8
  },
  "luminance": 0.20864
}

Semantic roles & 50–950 ramp

primary
#7E6DE2
secondary
#E3E9C2
accent
#CF17B4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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