#7E6DF6#7E6DF6

#7E6DF6 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.1% C 0.197 H 284.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7E6DF6
RGBrgb(126, 109, 246)
HSLhsl(247, 88%, 70%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(48.8%, 55.7%, 0%, 3.5%)
CIE-LABlab(54.05, 41.11, -66.78)
CIE-LCHlch(54.05, 78.42, 301.62°)
OKLaboklab(62.08% 0.0501 -0.1908)
OKLCHoklch(62.08% 0.197 284.7)
XYZxyz(30.7024, 22.0252, 89.8044)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF6 #E5F66D
analogous
#6DA1F6 #7E6DF6 #C26DF6
triadic
#7E6DF6 #F67E6D #6DF67E
tetradic
#7E6DF6 #F66DA1 #E5F66D #6DF6C2
square
#7E6DF6 #F66DA1 #E5F66D #6DF6C2
split-complementary
#7E6DF6 #F6C26D #A1F66D
monochromatic
#270EDB #4B33F2 #7E6DF6 #B1A7FA #E4E0FD

Accessibility & contrast

On white

3.89
#7E6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7E6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF6#FFFFFF#000000##000000
##7E6DF61.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D85FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#538CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6df6;
/* rgb */ color: rgb(126, 109, 246);
/* oklch */ color: oklch(62.1% 0.197 284.7);
Tailwind
colors: {
  custom: {
    50: '#ab97fa',
    500: '#7e6df6',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df6;
$custom-light: #ab97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df6",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 247.445,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62078,
    "c": 0.19728,
    "h": 284.7
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#7E6DF6
secondary
#EEF3CC
accent
#E501C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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