#7E6BF6#7E6BF6

#7E6BF6 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.7% C 0.200 H 285.2°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF6
RGBrgb(126, 107, 246)
HSLhsl(248, 89%, 69%)
HSVhsv(248, 57%, 96%)
CMYKcmyk(48.8%, 56.5%, 0%, 3.5%)
CIE-LABlab(53.60, 42.27, -67.51)
CIE-LCHlch(53.60, 79.65, 302.05°)
OKLaboklab(61.75% 0.0523 -0.1929)
OKLCHoklch(61.75% 0.2 285.2)
XYZxyz(30.4915, 21.6033, 89.7341)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF6 #E3F66B
analogous
#6B9EF6 #7E6BF6 #C36BF6
triadic
#7E6BF6 #F67E6B #6BF67E
tetradic
#7E6BF6 #F66B9E #E3F66B #6BF6C3
square
#7E6BF6 #F66B9E #E3F66B #6BF6C3
split-complementary
#7E6BF6 #F6C36B #9EF66B
monochromatic
#290DD9 #4C31F2 #7E6BF6 #B0A5FA #E3DEFD

Accessibility & contrast

On white

3.95
#7E6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7E6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF6
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF6#FFFFFF#000000##000000
##7E6BF61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#538BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf6;
/* rgb */ color: rgb(126, 107, 246);
/* oklch */ color: oklch(61.7% 0.200 285.2);
Tailwind
colors: {
  custom: {
    50: '#ab96fa',
    500: '#7e6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf6;
$custom-light: #ab96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf6",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 248.201,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.1999,
    "h": 285.2
  },
  "luminance": 0.21605
}

Semantic roles & 50–950 ramp

primary
#7E6BF6
secondary
#EDF3CA
accent
#E500C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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