#7C8FFB#7C8FFB

#7C8FFB is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.160 H 273.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7C8FFB
RGBrgb(124, 143, 251)
HSLhsl(231, 94%, 74%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(50.6%, 43%, 0%, 1.6%)
CIE-LABlab(62.42, 22.22, -56.14)
CIE-LCHlch(62.42, 60.37, 291.59°)
OKLaboklab(68.43% 0.0109 -0.1593)
OKLCHoklch(68.43% 0.16 273.9)
XYZxyz(35.5417, 30.8928, 95.3382)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FFB #FBE87C
analogous
#7CCEFB #7C8FFB #A87CFB
triadic
#7C8FFB #FB7C8F #8FFB7C
tetradic
#7C8FFB #FB7CCE #FBE87C #7CFBA8
square
#7C8FFB #FB7CCE #FBE87C #7CFBA8
split-complementary
#7C8FFB #FBA87C #CEFB7C
monochromatic
#072BF5 #415CF9 #7C8FFB #B7C2FD #E1E6FE

Accessibility & contrast

On white

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

On black

7.18
#7C8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FFB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FFB#FFFFFF#000000##000000
##7C8FFB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#45A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8ffb;
/* rgb */ color: rgb(124, 143, 251);
/* oklch */ color: oklch(68.4% 0.160 273.9);
Tailwind
colors: {
  custom: {
    50: '#a9affd',
    500: '#7c8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ffb;
$custom-light: #a9affd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ffb",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 231.024,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.68431,
    "c": 0.15972,
    "h": 273.9
  },
  "luminance": 0.30895
}

Semantic roles & 50–950 ramp

primary
#7C8FFB
secondary
#F6F1D5
accent
#C300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7C8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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