#7C8FFD#7C8FFD

#7C8FFD is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.162 H 274.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7C8FFD
RGBrgb(124, 143, 253)
HSLhsl(231, 97%, 74%)
HSVhsv(231, 51%, 99%)
CMYKcmyk(51%, 43.5%, 0%, 0.8%)
CIE-LABlab(62.52, 22.82, -57.06)
CIE-LCHlch(62.52, 61.46, 291.80°)
OKLaboklab(68.55% 0.0112 -0.1621)
OKLCHoklch(68.55% 0.162 274)
XYZxyz(35.8586, 31.0196, 97.0073)
Luminance0.3102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8FFD #FDEA7C
analogous
#7CD0FD #7C8FFD #AA7CFD
triadic
#7C8FFD #FD7C8F #8FFD7C
tetradic
#7C8FFD #FD7CD0 #FDEA7C #7CFDAA
square
#7C8FFD #FD7CD0 #FDEA7C #7CFDAA
split-complementary
#7C8FFD #FDAA7C #D0FD7C
monochromatic
#0428FB #405BFC #7C8FFD #B8C3FE #E1E5FF

Accessibility & contrast

On white

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

On black

7.20
#7C8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8FFD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8FFD#FFFFFF#000000##000000
##7C8FFD1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5392FB
Tritanopia (blue-blind)
#43A7BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7c8ffd;
/* rgb */ color: rgb(124, 143, 253);
/* oklch */ color: oklch(68.5% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#a9affe',
    500: '#7c8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ffd;
$custom-light: #a9affe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ffd",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 231.163,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.16246,
    "h": 274
  },
  "luminance": 0.31022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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