#7E6BF8#7E6BF8

#7E6BF8 is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.9% C 0.202 H 285.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7E6BF8
RGBrgb(126, 107, 248)
HSLhsl(248, 91%, 70%)
HSVhsv(248, 57%, 97%)
CMYKcmyk(49.2%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.74, 42.85, -68.40)
CIE-LCHlch(53.74, 80.71, 302.06°)
OKLaboklab(61.89% 0.0523 -0.1956)
OKLCHoklch(61.89% 0.202 285)
XYZxyz(30.8001, 21.7268, 91.3595)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BF8 #E5F86B
analogous
#6B9FF8 #7E6BF8 #C56BF8
triadic
#7E6BF8 #F87E6B #6BF87E
tetradic
#7E6BF8 #F86B9F #E5F86B #6BF8C5
square
#7E6BF8 #F86B9F #E5F86B #6BF8C5
split-complementary
#7E6BF8 #F8C56B #9FF86B
monochromatic
#270BDE #4B31F5 #7E6BF8 #B1A5FB #E4E0FE

Accessibility & contrast

On white

3.93
#7E6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7E6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BF8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BF8#FFFFFF#000000##000000
##7E6BF81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#518BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e6bf8;
/* rgb */ color: rgb(126, 107, 248);
/* oklch */ color: oklch(61.9% 0.202 285.0);
Tailwind
colors: {
  custom: {
    50: '#ab96fb',
    500: '#7e6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bf8;
$custom-light: #ab96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bf8",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 248.085,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61885,
    "c": 0.20245,
    "h": 285
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#7E6BF8
secondary
#EEF4CB
accent
#E600C7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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