#7E6DF7#7E6DF7

#7E6DF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.1% C 0.199 H 284.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E6DF7
RGBrgb(126, 109, 247)
HSLhsl(247, 90%, 70%)
HSVhsv(247, 56%, 97%)
CMYKcmyk(49%, 55.9%, 0%, 3.1%)
CIE-LABlab(54.12, 41.40, -67.23)
CIE-LCHlch(54.12, 78.96, 301.63°)
OKLaboklab(62.15% 0.0502 -0.1921)
OKLCHoklch(62.15% 0.199 284.6)
XYZxyz(30.8563, 22.0868, 90.6150)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6DF7 #E6F76D
analogous
#6DA1F7 #7E6DF7 #C36DF7
triadic
#7E6DF7 #F77E6D #6DF77E
tetradic
#7E6DF7 #F76DA1 #E6F76D #6DF7C3
square
#7E6DF7 #F76DA1 #E6F76D #6DF7C3
split-complementary
#7E6DF7 #F7C36D #A1F76D
monochromatic
#260CDD #4B33F4 #7E6DF7 #B1A7FA #E5E1FD

Accessibility & contrast

On white

3.88
#7E6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7E6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6DF7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6DF7#FFFFFF#000000##000000
##7E6DF71.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0785FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#528CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6df7;
/* rgb */ color: rgb(126, 109, 247);
/* oklch */ color: oklch(62.1% 0.199 284.6);
Tailwind
colors: {
  custom: {
    50: '#ab97fb',
    500: '#7e6df7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6df7;
$custom-light: #ab97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6df7",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 247.391,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62147,
    "c": 0.19856,
    "h": 284.6
  },
  "luminance": 0.22088
}

Semantic roles & 50–950 ramp

primary
#7E6DF7
secondary
#EFF3CC
accent
#E600C9
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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