#7E6BF4#7E6BF4

#7E6BF4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.6% C 0.197 H 285.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF4
RGBrgb(126, 107, 244)
HSLhsl(248, 86%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.4%, 56.1%, 0%, 4.3%)
CIE-LABlab(53.47, 41.69, -66.61)
CIE-LCHlch(53.47, 78.58, 302.04°)
OKLaboklab(61.61% 0.0523 -0.1903)
OKLCHoklch(61.61% 0.197 285.4)
XYZxyz(30.1862, 21.4812, 88.1261)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF4 #E1F46B
analogous
#6B9DF4 #7E6BF4 #C36BF4
triadic
#7E6BF4 #F47E6B #6BF47E
tetradic
#7E6BF4 #F46B9D #E1F46B #6BF4C3
square
#7E6BF4 #F46B9D #E1F46B #6BF4C3
split-complementary
#7E6BF4 #F4C36B #9DF46B
monochromatic
#2B10D5 #4C32F0 #7E6BF4 #B0A4F8 #E1DDFC

Accessibility & contrast

On white

3.96
#7E6BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7E6BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF4#FFFFFF#000000##000000
##7E6BF41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#548AA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf4;
/* rgb */ color: rgb(126, 107, 244);
/* oklch */ color: oklch(61.6% 0.197 285.4);
Tailwind
colors: {
  custom: {
    50: '#ab96f9',
    500: '#7e6bf4',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf4;
$custom-light: #ab96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf4",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 248.321,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61606,
    "c": 0.19735,
    "h": 285.4
  },
  "luminance": 0.21483
}

Semantic roles & 50–950 ramp

primary
#7E6BF4
secondary
#ECF2C9
accent
#E303C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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