#7C8DFF#7C8DFF

#7C8DFF is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.3% C 0.168 H 274.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7C8DFF
RGBrgb(124, 141, 255)
HSLhsl(232, 100%, 74%)
HSVhsv(232, 51%, 100%)
CMYKcmyk(51.4%, 44.7%, 0%, 0%)
CIE-LABlab(62.13, 24.61, -58.79)
CIE-LCHlch(62.13, 63.73, 292.71°)
OKLaboklab(68.28% 0.0137 -0.1671)
OKLCHoklch(68.28% 0.168 274.7)
XYZxyz(35.8813, 30.5525, 98.5948)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DFF #FFEE7C
analogous
#7CCEFF #7C8DFF #AD7CFF
triadic
#7C8DFF #FF7C8D #8DFF7C
tetradic
#7C8DFF #FF7CCE #FFEE7C #7CFFAD
square
#7C8DFF #FF7CCE #FFEE7C #7CFFAD
split-complementary
#7C8DFF #FFAD7C #CEFF7C
monochromatic
#0222FF #3F58FF #7C8DFF #B9C2FF #E0E4FF

Accessibility & contrast

On white

2.95
#7C8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7C8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8DFF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DFF#FFFFFF#000000##000000
##7C8DFF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#4E91FD
Tritanopia (blue-blind)
#42A6BA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7c8dff;
/* rgb */ color: rgb(124, 141, 255);
/* oklch */ color: oklch(68.3% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#aaaeff',
    500: '#7c8dff',
    950: '#000000',
  },
}
SCSS
$custom: #7c8dff;
$custom-light: #aaaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8dff",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 232.214,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.6828,
    "c": 0.16771,
    "h": 274.7
  },
  "luminance": 0.30555
}

Semantic roles & 50–950 ramp

primary
#7C8DFF
secondary
#F7F3D4
accent
#C800E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7C8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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