#7E6BF7#7E6BF7

#7E6BF7 is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.8% C 0.201 H 285.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF7
RGBrgb(126, 107, 247)
HSLhsl(248, 90%, 69%)
HSVhsv(248, 57%, 97%)
CMYKcmyk(49%, 56.7%, 0%, 3.1%)
CIE-LABlab(53.67, 42.56, -67.95)
CIE-LCHlch(53.67, 80.18, 302.06°)
OKLaboklab(61.82% 0.0523 -0.1943)
OKLCHoklch(61.82% 0.201 285.1)
XYZxyz(30.6454, 21.6649, 90.5446)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF7 #E4F76B
analogous
#6B9EF7 #7E6BF7 #C46BF7
triadic
#7E6BF7 #F77E6B #6BF77E
tetradic
#7E6BF7 #F76B9E #E4F76B #6BF7C4
square
#7E6BF7 #F76B9E #E4F76B #6BF7C4
split-complementary
#7E6BF7 #F7C46B #9EF76B
monochromatic
#280CDC #4B31F4 #7E6BF7 #B1A5FA #E3DFFD

Accessibility & contrast

On white

3.94
#7E6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7E6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF7#FFFFFF#000000##000000
##7E6BF71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#528BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf7;
/* rgb */ color: rgb(126, 107, 247);
/* oklch */ color: oklch(61.8% 0.201 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab96fb',
    500: '#7e6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf7;
$custom-light: #ab96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf7",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 248.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61815,
    "c": 0.20118,
    "h": 285.1
  },
  "luminance": 0.21666
}

Semantic roles & 50–950 ramp

primary
#7E6BF7
secondary
#EEF3CB
accent
#E600C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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