#7C8EFF#7C8EFF

#7C8EFF is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.166 H 274.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7C8EFF
RGBrgb(124, 142, 255)
HSLhsl(232, 100%, 74%)
HSVhsv(232, 51%, 100%)
CMYKcmyk(51.4%, 44.3%, 0%, 0%)
CIE-LABlab(62.38, 24.02, -58.39)
CIE-LCHlch(62.38, 63.13, 292.36°)
OKLaboklab(68.47% 0.0126 -0.166)
OKLCHoklch(68.47% 0.166 274.3)
XYZxyz(36.0294, 30.8488, 98.6442)
Luminance0.3085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EFF #FFED7C
analogous
#7CCFFF #7C8EFF #AC7CFF
triadic
#7C8EFF #FF7C8E #8EFF7C
tetradic
#7C8EFF #FF7CCF #FFED7C #7CFFAC
square
#7C8EFF #FF7CCF #FFED7C #7CFFAC
split-complementary
#7C8EFF #FFAC7C #CFFF7C
monochromatic
#0224FF #3F59FF #7C8EFF #B9C3FF #E0E5FF

Accessibility & contrast

On white

2.93
#7C8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7C8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EFF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EFF#FFFFFF#000000##000000
##7C8EFF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9DFF
Deuteranopia (green-blind)
#4F92FD
Tritanopia (blue-blind)
#41A6BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8eff;
/* rgb */ color: rgb(124, 142, 255);
/* oklch */ color: oklch(68.5% 0.166 274.3);
Tailwind
colors: {
  custom: {
    50: '#aaaeff',
    500: '#7c8eff',
    950: '#000000',
  },
}
SCSS
$custom: #7c8eff;
$custom-light: #aaaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8eff",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 231.756,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.16644,
    "h": 274.3
  },
  "luminance": 0.30851
}

Semantic roles & 50–950 ramp

primary
#7C8EFF
secondary
#F7F2D4
accent
#C600E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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