#7E86FC#7E86FC

#7E86FC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.9% C 0.172 H 277.7°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7E86FC
RGBrgb(126, 134, 252)
HSLhsl(236, 95%, 74%)
HSVhsv(236, 50%, 99%)
CMYKcmyk(50%, 46.8%, 0%, 1.2%)
CIE-LABlab(60.35, 28.25, -59.98)
CIE-LCHlch(60.35, 66.30, 295.22°)
OKLaboklab(66.91% 0.0232 -0.1706)
OKLCHoklch(66.91% 0.172 277.7)
XYZxyz(34.6945, 28.5120, 95.7518)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E86FC #FCF47E
analogous
#7EC5FC #7E86FC #B57EFC
triadic
#7E86FC #FC7E86 #86FC7E
tetradic
#7E86FC #FC7EC5 #FCF47E #7EFCB5
square
#7E86FC #FC7EC5 #FCF47E #7EFCB5
split-complementary
#7E86FC #FCB57E #C5FC7E
monochromatic
#0616F9 #424EFB #7E86FC #BABEFD #E1E3FE

Accessibility & contrast

On white

3.13
#7E86FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7E86FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E86FC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E86FC#FFFFFF#000000##000000
##7E86FC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#458DF9
Tritanopia (blue-blind)
#4BA0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e86fc;
/* rgb */ color: rgb(126, 134, 252);
/* oklch */ color: oklch(66.9% 0.172 277.7);
Tailwind
colors: {
  custom: {
    50: '#aba9fe',
    500: '#7e86fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e86fc;
$custom-light: #aba9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e86fc",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 236.19,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66909,
    "c": 0.17222,
    "h": 277.7
  },
  "luminance": 0.28514
}

Semantic roles & 50–950 ramp

primary
#7E86FC
secondary
#F7F4D4
accent
#D700E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7E86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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