#7C86F7#7C86F7

#7C86F7 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.166 H 277.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C86F7
RGBrgb(124, 134, 247)
HSLhsl(235, 88%, 73%)
HSVhsv(235, 50%, 97%)
CMYKcmyk(49.8%, 45.7%, 0%, 3.1%)
CIE-LABlab(59.93, 26.31, -57.90)
CIE-LCHlch(59.93, 63.60, 294.44°)
OKLaboklab(66.47% 0.0204 -0.1646)
OKLCHoklch(66.47% 0.166 277.1)
XYZxyz(33.6205, 28.0487, 91.6200)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C86F7 #F7ED7C
analogous
#7CC3F7 #7C86F7 #AF7CF7
triadic
#7C86F7 #F77C86 #86F77C
tetradic
#7C86F7 #F77CC3 #F7ED7C #7CF7AF
square
#7C86F7 #F77CC3 #F7ED7C #7CF7AF
split-complementary
#7C86F7 #F7AF7C #C3F77C
monochromatic
#0E20EA #4251F3 #7C86F7 #B6BBFB #E2E4FD

Accessibility & contrast

On white

3.18
#7C86F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#7C86F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C86F7
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C86F7#FFFFFF#000000##000000
##7C86F71.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FB
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#4A9EB3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c86f7;
/* rgb */ color: rgb(124, 134, 247);
/* oklch */ color: oklch(66.5% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#a9a9fa',
    500: '#7c86f7',
    950: '#000000',
  },
}
SCSS
$custom: #7c86f7;
$custom-light: #a9a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c86f7",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 235.122,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.16585,
    "h": 277.1
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#7C86F7
secondary
#F5F3D6
accent
#D200E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7C86F7

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

Preview Lab → · Contrast checker → · Palette generator →

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