#7C8EF5#7C8EF5

#7C8EF5 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.9% C 0.153 H 274.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7C8EF5
RGBrgb(124, 142, 245)
HSLhsl(231, 86%, 72%)
HSVhsv(231, 49%, 96%)
CMYKcmyk(49.4%, 42%, 0%, 3.9%)
CIE-LABlab(61.84, 21.00, -53.75)
CIE-LCHlch(61.84, 57.70, 291.34°)
OKLaboklab(67.89% 0.0111 -0.1524)
OKLCHoklch(67.89% 0.153 274.2)
XYZxyz(34.4614, 30.2216, 90.3859)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8EF5 #F5E37C
analogous
#7CCBF5 #7C8EF5 #A67CF5
triadic
#7C8EF5 #F57C8E #8EF57C
tetradic
#7C8EF5 #F57CCB #F5E37C #7CF5A6
square
#7C8EF5 #F57CCB #F5E37C #7CF5A6
split-complementary
#7C8EF5 #F5A67C #CBF57C
monochromatic
#1131E5 #435DF1 #7C8EF5 #B5BFF9 #E3E6FD

Accessibility & contrast

On white

2.98
#7C8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7C8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C8EF5
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8EF5#FFFFFF#000000##000000
##7C8EF51.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BF9
Deuteranopia (green-blind)
#5891F3
Tritanopia (blue-blind)
#4AA4B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7c8ef5;
/* rgb */ color: rgb(124, 142, 245);
/* oklch */ color: oklch(67.9% 0.153 274.2);
Tailwind
colors: {
  custom: {
    50: '#a8aef9',
    500: '#7c8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7c8ef5;
$custom-light: #a8aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8ef5",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 231.074,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.15277,
    "h": 274.2
  },
  "luminance": 0.30224
}

Semantic roles & 50–950 ramp

primary
#7C8EF5
secondary
#F5F0D6
accent
#C103E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7C8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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