#7E6BEE#7E6BEE

#7E6BEE is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.2% C 0.190 H 286.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7E6BEE
RGBrgb(126, 107, 238)
HSLhsl(249, 79%, 68%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(47.1%, 55%, 0%, 6.7%)
CIE-LABlab(53.08, 39.95, -63.89)
CIE-LCHlch(53.08, 75.35, 302.02°)
OKLaboklab(61.2% 0.0522 -0.1823)
OKLCHoklch(61.2% 0.19 286)
XYZxyz(29.2900, 21.1227, 83.4061)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BEE #DBEE6B
analogous
#6B9AEE #7E6BEE #BF6BEE
triadic
#7E6BEE #EE7E6B #6BEE7E
tetradic
#7E6BEE #EE6B9A #DBEE6B #6BEEBF
square
#7E6BEE #EE6B9A #DBEE6B #6BEEBF
split-complementary
#7E6BEE #EEBF6B #9AEE6B
monochromatic
#3117C8 #4E34E8 #7E6BEE #AEA2F4 #DED9FB

Accessibility & contrast

On white

4.02
#7E6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7E6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BEE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BEE#FFFFFF#000000##000000
##7E6BEE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F2
Deuteranopia (green-blind)
#167BEB
Tritanopia (blue-blind)
#5888A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6bee;
/* rgb */ color: rgb(126, 107, 238);
/* oklch */ color: oklch(61.2% 0.190 286.0);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7e6bee',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bee;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bee",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 248.702,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.18963,
    "h": 286
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#7E6BEE
secondary
#E9EFC6
accent
#DC0ABD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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