#7C86CF#7C86CF

#7C86CF is a light, moderate blue. Relative luminance 0.258; OKLCH L 64.2% C 0.110 H 276.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7C86CF
RGBrgb(124, 134, 207)
HSLhsl(233, 46%, 65%)
HSVhsv(233, 40%, 81%)
CMYKcmyk(40.1%, 35.3%, 0%, 18.8%)
CIE-LABlab(57.88, 14.61, -38.85)
CIE-LCHlch(57.88, 41.51, 290.61°)
OKLaboklab(64.24% 0.0132 -0.109)
OKLCHoklch(64.24% 0.11 276.9)
XYZxyz(28.0964, 25.8390, 62.5264)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C86CF #CFC57C
analogous
#7CB0CF #7C86CF #9B7CCF
triadic
#7C86CF #CF7C86 #86CF7C
tetradic
#7C86CF #CF7CB0 #CFC57C #7CCF9B
square
#7C86CF #CF7CB0 #CFC57C #7CCF9B
split-complementary
#7C86CF #CF9B7C #B0CF7C
monochromatic
#384499 #4F5DBF #7C86CF #A9AFDF #D6D9F0

Accessibility & contrast

On white

3.40
#7C86CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7C86CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C86CF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C86CF#FFFFFF#000000##000000
##7C86CF1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED2
Deuteranopia (green-blind)
#6788CD
Tritanopia (blue-blind)
#6294A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c86cf;
/* rgb */ color: rgb(124, 134, 207);
/* oklch */ color: oklch(64.2% 0.110 276.9);
Tailwind
colors: {
  custom: {
    50: '#a5a9de',
    500: '#7c86cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c86cf;
$custom-light: #a5a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#7c86cf",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 232.771,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64236,
    "c": 0.10976,
    "h": 276.9
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#7C86CF
secondary
#E2DEC5
accent
#A92CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7C86CF

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

Preview Lab → · Contrast checker → · Palette generator →

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