#7C8DF3#7C8DF3

#7C8DF3 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.151 H 274.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7C8DF3
RGBrgb(124, 141, 243)
HSLhsl(231, 83%, 72%)
HSVhsv(231, 49%, 95%)
CMYKcmyk(49%, 42%, 0%, 4.7%)
CIE-LABlab(61.48, 20.98, -53.22)
CIE-LCHlch(61.48, 57.21, 291.52°)
OKLaboklab(67.58% 0.0119 -0.1508)
OKLCHoklch(67.58% 0.151 274.5)
XYZxyz(34.0096, 29.8039, 88.7373)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8DF3 #F3E27C
analogous
#7CC8F3 #7C8DF3 #A77CF3
triadic
#7C8DF3 #F37C8D #8DF37C
tetradic
#7C8DF3 #F37CC8 #F3E27C #7CF3A7
square
#7C8DF3 #F37CC8 #F3E27C #7CF3A7
split-complementary
#7C8DF3 #F3A77C #C8F37C
monochromatic
#1532E0 #445CEE #7C8DF3 #B4BEF8 #E3E7FC

Accessibility & contrast

On white

3.02
#7C8DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7C8DF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8DF3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8DF3#FFFFFF#000000##000000
##7C8DF31.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#4CA3B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7c8df3;
/* rgb */ color: rgb(124, 141, 243);
/* oklch */ color: oklch(67.6% 0.151 274.5);
Tailwind
colors: {
  custom: {
    50: '#a8aef7',
    500: '#7c8df3',
    950: '#000000',
  },
}
SCSS
$custom: #7c8df3;
$custom-light: #a8aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8df3",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 243
  },
  "hsl": {
    "h": 231.429,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67581,
    "c": 0.1513,
    "h": 274.5
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#7C8DF3
secondary
#F4F0D6
accent
#C106E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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