#7C8FFE#7C8FFE

#7C8FFE is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.6% C 0.164 H 274.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7C8FFE
RGBrgb(124, 143, 254)
HSLhsl(231, 98%, 74%)
HSVhsv(231, 51%, 100%)
CMYKcmyk(51.2%, 43.7%, 0%, 0.4%)
CIE-LABlab(62.58, 23.13, -57.52)
CIE-LCHlch(62.58, 62.00, 291.90°)
OKLaboklab(68.61% 0.0114 -0.1634)
OKLCHoklch(68.61% 0.164 274)
XYZxyz(36.0183, 31.0834, 97.8485)
Luminance0.3109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FFE #FEEB7C
analogous
#7CD0FE #7C8FFE #AA7CFE
triadic
#7C8FFE #FE7C8F #8FFE7C
tetradic
#7C8FFE #FE7CD0 #FEEB7C #7CFEAA
square
#7C8FFE #FE7CD0 #FEEB7C #7CFEAA
split-complementary
#7C8FFE #FEAA7C #D0FE7C
monochromatic
#0327FD #3F5BFE #7C8FFE #B9C3FE #E1E5FF

Accessibility & contrast

On white

2.91
#7C8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7C8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FFE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FFE#FFFFFF#000000##000000
##7C8FFE1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5292FC
Tritanopia (blue-blind)
#42A7BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8ffe;
/* rgb */ color: rgb(124, 143, 254);
/* oklch */ color: oklch(68.6% 0.164 274.0);
Tailwind
colors: {
  custom: {
    50: '#a9afff',
    500: '#7c8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ffe;
$custom-light: #a9afff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ffe",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 231.231,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68606,
    "c": 0.16382,
    "h": 274
  },
  "luminance": 0.31086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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