#7D98FA#7D98FA

#7D98FA is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.2% C 0.147 H 270.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D98FA
RGBrgb(125, 152, 250)
HSLhsl(227, 93%, 74%)
HSVhsv(227, 50%, 98%)
CMYKcmyk(50%, 39.2%, 0%, 2%)
CIE-LABlab(64.74, 16.87, -51.90)
CIE-LCHlch(64.74, 54.57, 288.00°)
OKLaboklab(70.21% 0.0016 -0.1469)
OKLCHoklch(70.21% 0.147 270.6)
XYZxyz(36.9354, 33.7162, 94.9855)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D98FA #FADF7D
analogous
#7DD6FA #7D98FA #A07DFA
triadic
#7D98FA #FA7D98 #98FA7D
tetradic
#7D98FA #FA7DD6 #FADF7D #7DFAA0
square
#7D98FA #FA7DD6 #FADF7D #7DFAA0
split-complementary
#7D98FA #FAA07D #D6FA7D
monochromatic
#093CF3 #4269F8 #7D98FA #B8C7FC #E2E8FE

Accessibility & contrast

On white

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

On black

7.74
#7D98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D98FA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D98FA#FFFFFF#000000##000000
##7D98FA1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FE
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#47ADBD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7d98fa;
/* rgb */ color: rgb(125, 152, 250);
/* oklch */ color: oklch(70.2% 0.147 270.6);
Tailwind
colors: {
  custom: {
    50: '#a9b6fc',
    500: '#7d98fa',
    950: '#000000',
  },
}
SCSS
$custom: #7d98fa;
$custom-light: #a9b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d98fa",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 227.04,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70207,
    "c": 0.14688,
    "h": 270.6
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#7D98FA
secondary
#F6EFD5
accent
#B400E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101117
muted
#7F8085

Preview Lab

Preview with #7D98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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