#7C86FC#7C86FC

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

Color values

HEX#7C86FC
RGBrgb(124, 134, 252)
HSLhsl(235, 96%, 74%)
HSVhsv(235, 51%, 99%)
CMYKcmyk(50.8%, 46.8%, 0%, 1.2%)
CIE-LABlab(60.21, 27.82, -60.20)
CIE-LCHlch(60.21, 66.32, 294.80°)
OKLaboklab(66.77% 0.021 -0.1713)
OKLCHoklch(66.77% 0.173 277)
XYZxyz(34.4024, 28.3615, 95.7381)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C86FC #FCF27C
analogous
#7CC6FC #7C86FC #B27CFC
triadic
#7C86FC #FC7C86 #86FC7C
tetradic
#7C86FC #FC7CC6 #FCF27C #7CFCB2
square
#7C86FC #FC7CC6 #FCF27C #7CFCB2
split-complementary
#7C86FC #FCB27C #C6FC7C
monochromatic
#0619F8 #404FFB #7C86FC #B8BDFD #E1E3FE

Accessibility & contrast

On white

3.15
#7C86FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7C86FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C86FC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C86FC#FFFFFF#000000##000000
##7C86FC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#46A0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7c86fc;
/* rgb */ color: rgb(124, 134, 252);
/* oklch */ color: oklch(66.8% 0.173 277.0);
Tailwind
colors: {
  custom: {
    50: '#a9a9fe',
    500: '#7c86fc',
    950: '#000000',
  },
}
SCSS
$custom: #7c86fc;
$custom-light: #a9a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c86fc",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 235.313,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.17264,
    "h": 277
  },
  "luminance": 0.28364
}

Semantic roles & 50–950 ramp

primary
#7C86FC
secondary
#F7F4D4
accent
#D400E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7C86FC

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

Preview Lab → · Contrast checker → · Palette generator →

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