#7E6CF9#7E6CF9

#7E6CF9 is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.1% C 0.202 H 284.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E6CF9
RGBrgb(126, 108, 249)
HSLhsl(248, 92%, 70%)
HSVhsv(248, 57%, 98%)
CMYKcmyk(49.4%, 56.6%, 0%, 2.4%)
CIE-LABlab(54.03, 42.56, -68.49)
CIE-LCHlch(54.03, 80.64, 301.86°)
OKLaboklab(62.12% 0.0512 -0.1958)
OKLCHoklch(62.12% 0.202 284.7)
XYZxyz(31.0605, 21.9987, 92.2137)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CF9 #E7F96C
analogous
#6CA0F9 #7E6CF9 #C56CF9
triadic
#7E6CF9 #F97E6C #6CF97E
tetradic
#7E6CF9 #F96CA0 #E7F96C #6CF9C5
square
#7E6CF9 #F96CA0 #E7F96C #6CF9C5
split-complementary
#7E6CF9 #F9C56C #A0F96C
monochromatic
#2509E1 #4A31F7 #7E6CF9 #B2A7FB #E5E2FE

Accessibility & contrast

On white

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

On black

5.40
#7E6CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CF9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CF9#FFFFFF#000000##000000
##7E6CF91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#007DF6
Tritanopia (blue-blind)
#508CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6cf9;
/* rgb */ color: rgb(126, 108, 249);
/* oklch */ color: oklch(62.1% 0.202 284.7);
Tailwind
colors: {
  custom: {
    50: '#ac97fc',
    500: '#7e6cf9',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cf9;
$custom-light: #ac97fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cf9",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 247.66,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.6212,
    "c": 0.20242,
    "h": 284.7
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#7E6CF9
secondary
#EFF4CD
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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