#7E86FA#7E86FA

#7E86FA is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.8% C 0.170 H 277.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E86FA
RGBrgb(126, 134, 250)
HSLhsl(236, 93%, 74%)
HSVhsv(236, 50%, 98%)
CMYKcmyk(49.6%, 46.4%, 0%, 2%)
CIE-LABlab(60.24, 27.65, -59.06)
CIE-LCHlch(60.24, 65.21, 295.09°)
OKLaboklab(66.79% 0.023 -0.1679)
OKLCHoklch(66.79% 0.17 277.8)
XYZxyz(34.3792, 28.3859, 94.0914)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E86FA #FAF27E
analogous
#7EC4FA #7E86FA #B47EFA
triadic
#7E86FA #FA7E86 #86FA7E
tetradic
#7E86FA #FA7EC4 #FAF27E #7EFAB4
square
#7E86FA #FA7EC4 #FAF27E #7EFAB4
split-complementary
#7E86FA #FAB47E #C4FA7E
monochromatic
#0919F4 #434FF8 #7E86FA #B9BDFC #E2E3FE

Accessibility & contrast

On white

3.14
#7E86FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7E86FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E86FA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E86FA#FFFFFF#000000##000000
##7E86FA1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#4C9FB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e86fa;
/* rgb */ color: rgb(126, 134, 250);
/* oklch */ color: oklch(66.8% 0.170 277.8);
Tailwind
colors: {
  custom: {
    50: '#aaa9fc',
    500: '#7e86fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e86fa;
$custom-light: #aaa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e86fa",
  "rgb": {
    "r": 126,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 236.129,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.16951,
    "h": 277.8
  },
  "luminance": 0.28388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E86FA

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

Preview Lab → · Contrast checker → · Palette generator →

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