#7C8FEE#7C8FEE

#7C8FEE is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.7% C 0.142 H 273.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7C8FEE
RGBrgb(124, 143, 238)
HSLhsl(230, 77%, 71%)
HSVhsv(230, 48%, 93%)
CMYKcmyk(47.9%, 39.9%, 0%, 6.7%)
CIE-LABlab(61.74, 18.31, -50.06)
CIE-LCHlch(61.74, 53.30, 290.10°)
OKLaboklab(67.69% 0.0087 -0.1416)
OKLCHoklch(67.69% 0.142 273.5)
XYZxyz(33.5624, 30.1011, 84.9139)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FEE #EEDB7C
analogous
#7CC8EE #7C8FEE #A27CEE
triadic
#7C8FEE #EE7C8F #8FEE7C
tetradic
#7C8FEE #EE7CC8 #EEDB7C #7CEEA2
square
#7C8FEE #EE7CC8 #EEDB7C #7CEEA2
split-complementary
#7C8FEE #EEA27C #C8EE7C
monochromatic
#1C3AD4 #4661E7 #7C8FEE #B2BDF5 #E4E8FB

Accessibility & contrast

On white

2.99
#7C8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7C8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FEE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FEE#FFFFFF#000000##000000
##7C8FEE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF2
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#4FA3B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8fee;
/* rgb */ color: rgb(124, 143, 238);
/* oklch */ color: oklch(67.7% 0.142 273.5);
Tailwind
colors: {
  custom: {
    50: '#a8aff4',
    500: '#7c8fee',
    950: '#000000',
  },
}
SCSS
$custom: #7c8fee;
$custom-light: #a8aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8fee",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 230,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67694,
    "c": 0.14182,
    "h": 273.5
  },
  "luminance": 0.30103
}

Semantic roles & 50–950 ramp

primary
#7C8FEE
secondary
#F2EDD4
accent
#B70CD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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