#7998F7#7998F7

#7998F7 is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.144 H 268.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7998F7
RGBrgb(121, 152, 247)
HSLhsl(225, 89%, 72%)
HSVhsv(225, 51%, 97%)
CMYKcmyk(51%, 38.5%, 0%, 3.1%)
CIE-LABlab(64.35, 15.08, -50.88)
CIE-LCHlch(64.35, 53.07, 286.51°)
OKLaboklab(69.8% -0.003 -0.144)
OKLCHoklch(69.8% 0.144 268.8)
XYZxyz(35.8964, 33.2344, 92.5010)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7998F7 #F7D879
analogous
#79D7F7 #7998F7 #9979F7
triadic
#7998F7 #F77998 #98F779
tetradic
#7998F7 #F779D7 #F7D879 #79F799
square
#7998F7 #F779D7 #F7D879 #79F799
split-complementary
#7998F7 #F79979 #D7F779
monochromatic
#0E43E8 #3F6CF4 #7998F7 #B3C4FA #E2E9FD

Accessibility & contrast

On white

2.75
#7998F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7998F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7998F7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7998F7#FFFFFF#000000##000000
##7998F71.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#6497F5
Tritanopia (blue-blind)
#3FACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7998f7;
/* rgb */ color: rgb(121, 152, 247);
/* oklch */ color: oklch(69.8% 0.144 268.8);
Tailwind
colors: {
  custom: {
    50: '#a7b6fa',
    500: '#7998f7',
    950: '#000000',
  },
}
SCSS
$custom: #7998f7;
$custom-light: #a7b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7998f7",
  "rgb": {
    "r": 121,
    "g": 152,
    "b": 247
  },
  "hsl": {
    "h": 225.238,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69799,
    "c": 0.14401,
    "h": 268.8
  },
  "luminance": 0.33237
}

Semantic roles & 50–950 ramp

primary
#7998F7
secondary
#F5EED6
accent
#AD00E5
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7998F7

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

Preview Lab → · Contrast checker → · Palette generator →

#7998F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva