#7E6BF5#7E6BF5

#7E6BF5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.7% C 0.199 H 285.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF5
RGBrgb(126, 107, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(48.6%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.54, 41.98, -67.06)
CIE-LCHlch(53.54, 79.11, 302.05°)
OKLaboklab(61.68% 0.0523 -0.1916)
OKLCHoklch(61.68% 0.199 285.3)
XYZxyz(30.3384, 21.5421, 88.9280)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF5 #E2F56B
analogous
#6B9DF5 #7E6BF5 #C36BF5
triadic
#7E6BF5 #F57E6B #6BF57E
tetradic
#7E6BF5 #F56B9D #E2F56B #6BF5C3
square
#7E6BF5 #F56B9D #E2F56B #6BF5C3
split-complementary
#7E6BF5 #F5C36B #9DF56B
monochromatic
#2A0FD7 #4C32F1 #7E6BF5 #B0A4F9 #E2DEFD

Accessibility & contrast

On white

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

On black

5.31
#7E6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF5#FFFFFF#000000##000000
##7E6BF51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#007CF2
Tritanopia (blue-blind)
#538AA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf5;
/* rgb */ color: rgb(126, 107, 245);
/* oklch */ color: oklch(61.7% 0.199 285.3);
Tailwind
colors: {
  custom: {
    50: '#ab96f9',
    500: '#7e6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf5;
$custom-light: #ab96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf5",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 248.261,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61676,
    "c": 0.19862,
    "h": 285.3
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#7E6BF5
secondary
#EDF2CA
accent
#E402C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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