#7C98EA#7C98EA

#7C98EA is a light, vivid blue. Relative luminance 0.327; OKLCH L 69.3% C 0.125 H 268.7°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7C98EA
RGBrgb(124, 152, 234)
HSLhsl(225, 72%, 70%)
HSVhsv(225, 47%, 92%)
CMYKcmyk(47%, 35%, 0%, 8.2%)
CIE-LABlab(63.90, 11.88, -44.44)
CIE-LCHlch(63.90, 46.00, 284.96°)
OKLaboklab(69.29% -0.0028 -0.1251)
OKLCHoklch(69.29% 0.125 268.7)
XYZxyz(34.3869, 32.6800, 82.3218)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C98EA #EACE7C
analogous
#7CCFEA #7C98EA #977CEA
triadic
#7C98EA #EA7C98 #98EA7C
tetradic
#7C98EA #EA7CCF #EACE7C #7CEA97
square
#7C98EA #EA7CCF #EACE7C #7CEA97
split-complementary
#7C98EA #EA977C #CFEA7C
monochromatic
#214CCB #476FE2 #7C98EA #B1C1F2 #E5EAFB

Accessibility & contrast

On white

2.79
#7C98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#7C98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C98EA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C98EA#FFFFFF#000000##000000
##7C98EA1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0ED
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#51A9B6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7c98ea;
/* rgb */ color: rgb(124, 152, 234);
/* oklch */ color: oklch(69.3% 0.125 268.7);
Tailwind
colors: {
  custom: {
    50: '#a7b6f1',
    500: '#7c98ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c98ea;
$custom-light: #a7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c98ea",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 224.727,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.12517,
    "h": 268.7
  },
  "luminance": 0.32682
}

Semantic roles & 50–950 ramp

primary
#7C98EA
secondary
#F0E8D2
accent
#A311D4
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7C98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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