#7C98FC#7C98FC

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

Color values

HEX#7C98FC
RGBrgb(124, 152, 252)
HSLhsl(227, 96%, 74%)
HSVhsv(227, 51%, 99%)
CMYKcmyk(50.8%, 39.7%, 0%, 1.2%)
CIE-LABlab(64.78, 17.25, -52.93)
CIE-LCHlch(64.78, 55.67, 288.05°)
OKLaboklab(70.26% 0.001 -0.1499)
OKLCHoklch(70.26% 0.15 270.4)
XYZxyz(37.1054, 33.7674, 96.6391)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C98FC #FCE07C
analogous
#7CD8FC #7C98FC #A07CFC
triadic
#7C98FC #FC7C98 #98FC7C
tetradic
#7C98FC #FC7CD8 #FCE07C #7CFCA0
square
#7C98FC #FC7CD8 #FCE07C #7CFCA0
split-complementary
#7C98FC #FCA07C #D8FC7C
monochromatic
#063BF8 #4069FB #7C98FC #B8C7FD #E1E7FE

Accessibility & contrast

On white

2.71
#7C98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7C98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7C98FC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C98FC#FFFFFF#000000##000000
##7C98FC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#42ADBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7c98fc;
/* rgb */ color: rgb(124, 152, 252);
/* oklch */ color: oklch(70.3% 0.150 270.4);
Tailwind
colors: {
  custom: {
    50: '#a9b6fe',
    500: '#7c98fc',
    950: '#000000',
  },
}
SCSS
$custom: #7c98fc;
$custom-light: #a9b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c98fc",
  "rgb": {
    "r": 124,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 226.875,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.14991,
    "h": 270.4
  },
  "luminance": 0.3377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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