#7E6BF0#7E6BF0

#7E6BF0 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.3% C 0.192 H 285.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF0
RGBrgb(126, 107, 240)
HSLhsl(249, 82%, 68%)
HSVhsv(249, 55%, 94%)
CMYKcmyk(47.5%, 55.4%, 0%, 5.9%)
CIE-LABlab(53.21, 40.53, -64.80)
CIE-LCHlch(53.21, 76.43, 302.03°)
OKLaboklab(61.33% 0.0523 -0.185)
OKLCHoklch(61.33% 0.192 285.8)
XYZxyz(29.5854, 21.2409, 84.9622)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF0 #DDF06B
analogous
#6B9BF0 #7E6BF0 #C06BF0
triadic
#7E6BF0 #F07E6B #6BF07E
tetradic
#7E6BF0 #F06B9B #DDF06B #6BF0C0
square
#7E6BF0 #F06B9B #DDF06B #6BF0C0
split-complementary
#7E6BF0 #F0C06B #9BF06B
monochromatic
#2F15CC #4E33EA #7E6BF0 #AEA3F6 #DFDAFB

Accessibility & contrast

On white

4.00
#7E6BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7E6BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF0#FFFFFF#000000##000000
##7E6BF01.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1683F4
Deuteranopia (green-blind)
#0E7BED
Tritanopia (blue-blind)
#5789A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7e6bf0;
/* rgb */ color: rgb(126, 107, 240);
/* oklch */ color: oklch(61.3% 0.192 285.8);
Tailwind
colors: {
  custom: {
    50: '#ab96f6',
    500: '#7e6bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf0;
$custom-light: #ab96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf0",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 248.571,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61331,
    "c": 0.19222,
    "h": 285.8
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#7E6BF0
secondary
#EAF0C7
accent
#DE08BF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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