#7C98FD#7C98FD

#7C98FD is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.151 H 270.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7C98FD
RGBrgb(124, 152, 253)
HSLhsl(227, 97%, 74%)
HSVhsv(227, 51%, 99%)
CMYKcmyk(51%, 39.9%, 0%, 0.8%)
CIE-LABlab(64.83, 17.55, -53.40)
CIE-LCHlch(64.83, 56.21, 288.20°)
OKLaboklab(70.31% 0.0012 -0.1513)
OKLCHoklch(70.31% 0.151 270.4)
XYZxyz(37.2643, 33.8309, 97.4759)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C98FD #FDE17C
analogous
#7CD8FD #7C98FD #A17CFD
triadic
#7C98FD #FD7C98 #98FD7C
tetradic
#7C98FD #FD7CD8 #FDE17C #7CFDA1
square
#7C98FD #FD7CD8 #FDE17C #7CFDA1
split-complementary
#7C98FD #FDA17C #D8FD7C
monochromatic
#0439FB #4069FC #7C98FD #B8C7FE #E1E7FF

Accessibility & contrast

On white

2.70
#7C98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7C98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C98FD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C98FD#FFFFFF#000000##000000
##7C98FD1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#41AEBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7c98fd;
/* rgb */ color: rgb(124, 152, 253);
/* oklch */ color: oklch(70.3% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#a9b6fe',
    500: '#7c98fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c98fd;
$custom-light: #a9b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c98fd",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 226.977,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70311,
    "c": 0.15127,
    "h": 270.4
  },
  "luminance": 0.33833
}

Semantic roles & 50–950 ramp

primary
#7C98FD
secondary
#F7EFD4
accent
#B400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7C98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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