#7A98FC#7A98FC

#7A98FC is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.1% C 0.151 H 269.6°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7A98FC
RGBrgb(122, 152, 252)
HSLhsl(226, 96%, 73%)
HSVhsv(226, 52%, 99%)
CMYKcmyk(51.6%, 39.7%, 0%, 1.2%)
CIE-LABlab(64.66, 16.82, -53.13)
CIE-LCHlch(64.66, 55.72, 287.56°)
OKLaboklab(70.13% -0.001 -0.1505)
OKLCHoklch(70.13% 0.151 269.6)
XYZxyz(36.8192, 33.6198, 96.6257)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A98FC #FCDE7A
analogous
#7AD9FC #7A98FC #9D7AFC
triadic
#7A98FC #FC7A98 #98FC7A
tetradic
#7A98FC #FC7AD9 #FCDE7A #7AFC9D
square
#7A98FC #FC7AD9 #FCDE7A #7AFC9D
split-complementary
#7A98FC #FC9D7A #D9FC7A
monochromatic
#063DF6 #3E6AFB #7A98FC #B6C6FD #E1E8FE

Accessibility & contrast

On white

2.72
#7A98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7A98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A98FC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A98FC#FFFFFF#000000##000000
##7A98FC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#6198FA
Tritanopia (blue-blind)
#3DAEBE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7a98fc;
/* rgb */ color: rgb(122, 152, 252);
/* oklch */ color: oklch(70.1% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#a8b6fe',
    500: '#7a98fc',
    950: '#000000',
  },
}
SCSS
$custom: #7a98fc;
$custom-light: #a8b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a98fc",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 226.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70134,
    "c": 0.15051,
    "h": 269.6
  },
  "luminance": 0.33622
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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