#7E6FF5#7E6FF5

#7E6FF5 is a light, vivid blue. Relative luminance 0.224; OKLCH L 62.3% C 0.193 H 284.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7E6FF5
RGBrgb(126, 111, 245)
HSLhsl(247, 87%, 70%)
HSVhsv(247, 55%, 96%)
CMYKcmyk(48.6%, 54.7%, 0%, 3.9%)
CIE-LABlab(54.44, 39.66, -65.59)
CIE-LCHlch(54.44, 76.65, 301.16°)
OKLaboklab(62.35% 0.048 -0.1873)
OKLCHoklch(62.35% 0.193 284.4)
XYZxyz(30.7651, 22.3955, 89.0702)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FF5 #E6F56F
analogous
#6FA3F5 #7E6FF5 #C16FF5
triadic
#7E6FF5 #F57E6F #6FF57E
tetradic
#7E6FF5 #F56FA3 #E6F56F #6FF5C1
square
#7E6FF5 #F56FA3 #E6F56F #6FF5C1
split-complementary
#7E6FF5 #F5C16F #A3F56F
monochromatic
#260FDA #4B36F1 #7E6FF5 #B1A8F9 #E5E1FD

Accessibility & contrast

On white

3.83
#7E6FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7E6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FF5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FF5#FFFFFF#000000##000000
##7E6FF51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D86FA
Deuteranopia (green-blind)
#107EF2
Tritanopia (blue-blind)
#538DA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e6ff5;
/* rgb */ color: rgb(126, 111, 245);
/* oklch */ color: oklch(62.3% 0.193 284.4);
Tailwind
colors: {
  custom: {
    50: '#ab99f9',
    500: '#7e6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ff5;
$custom-light: #ab99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ff5",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 246.716,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.19335,
    "h": 284.4
  },
  "luminance": 0.22397
}

Semantic roles & 50–950 ramp

primary
#7E6FF5
secondary
#EFF3CD
accent
#E402CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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