#7E99FC#7E99FC

#7E99FC is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.6% C 0.148 H 270.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7E99FC
RGBrgb(126, 153, 252)
HSLhsl(227, 95%, 74%)
HSVhsv(227, 50%, 99%)
CMYKcmyk(50%, 39.3%, 0%, 1.2%)
CIE-LABlab(65.16, 17.11, -52.32)
CIE-LCHlch(65.16, 55.05, 288.11°)
OKLaboklab(70.58% 0.0018 -0.1481)
OKLCHoklch(70.58% 0.148 270.7)
XYZxyz(37.5604, 34.2439, 96.7071)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E99FC #FCE17E
analogous
#7ED8FC #7E99FC #A27EFC
triadic
#7E99FC #FC7E99 #99FC7E
tetradic
#7E99FC #FC7ED8 #FCE17E #7EFCA2
square
#7E99FC #FC7ED8 #FCE17E #7EFCA2
split-complementary
#7E99FC #FCA27E #D8FC7E
monochromatic
#063AF9 #426AFB #7E99FC #BAC8FD #E1E7FE

Accessibility & contrast

On white

2.68
#7E99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#7E99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E99FC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E99FC#FFFFFF#000000##000000
##7E99FC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A4FF
Deuteranopia (green-blind)
#6599FA
Tritanopia (blue-blind)
#47AEBE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7e99fc;
/* rgb */ color: rgb(126, 153, 252);
/* oklch */ color: oklch(70.6% 0.148 270.7);
Tailwind
colors: {
  custom: {
    50: '#aab6fe',
    500: '#7e99fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e99fc;
$custom-light: #aab6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e99fc",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 227.143,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70578,
    "c": 0.1481,
    "h": 270.7
  },
  "luminance": 0.34246
}

Semantic roles & 50–950 ramp

primary
#7E99FC
secondary
#F7EFD4
accent
#B400E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7E99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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