#7E6BFE#7E6BFE

#7E6BFE is a light, highly saturated blue. Relative luminance 0.221; OKLCH L 62.3% C 0.210 H 284.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E6BFE
RGBrgb(126, 107, 254)
HSLhsl(248, 99%, 71%)
HSVhsv(248, 58%, 100%)
CMYKcmyk(50.4%, 57.9%, 0%, 0.4%)
CIE-LABlab(54.14, 44.59, -71.08)
CIE-LCHlch(54.14, 83.91, 302.10°)
OKLaboklab(62.31% 0.0522 -0.2034)
OKLCHoklch(62.31% 0.21 284.4)
XYZxyz(31.7459, 22.1051, 96.3407)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BFE #EBFE6B
analogous
#6BA1FE #7E6BFE #C76BFE
triadic
#7E6BFE #FE7E6B #6BFE7E
tetradic
#7E6BFE #FE6BA1 #EBFE6B #6BFEC7
square
#7E6BFE #FE6BA1 #EBFE6B #6BFEC7
split-complementary
#7E6BFE #FEC76B #A1FE6B
monochromatic
#2002ED #492EFE #7E6BFE #B3A8FE #E5E1FF

Accessibility & contrast

On white

3.87
#7E6BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6BFE#FFFFFF#000000##000000
##7E6BFE1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#4D8DAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e6bfe;
/* rgb */ color: rgb(126, 107, 254);
/* oklch */ color: oklch(62.3% 0.210 284.4);
Tailwind
colors: {
  custom: {
    50: '#ac96ff',
    500: '#7e6bfe',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bfe;
$custom-light: #ac96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bfe",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 254
  },
  "hsl": {
    "h": 247.755,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.21003,
    "h": 284.4
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E6BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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