#7F99FA#7F99FA

#7F99FA is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.5% C 0.145 H 271.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7F99FA
RGBrgb(127, 153, 250)
HSLhsl(227, 92%, 74%)
HSVhsv(227, 49%, 98%)
CMYKcmyk(49.2%, 38.8%, 0%, 2%)
CIE-LABlab(65.12, 16.73, -51.29)
CIE-LCHlch(65.12, 53.95, 288.07°)
OKLaboklab(70.53% 0.0024 -0.145)
OKLCHoklch(70.53% 0.145 271)
XYZxyz(37.3934, 34.1943, 95.0537)
Luminance0.3420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F99FA #FAE07F
analogous
#7FD7FA #7F99FA #A37FFA
triadic
#7F99FA #FA7F99 #99FA7F
tetradic
#7F99FA #FA7FD7 #FAE07F #7FFAA3
square
#7F99FA #FA7FD7 #FAE07F #7FFAA3
split-complementary
#7F99FA #FAA37F #D7FA7F
monochromatic
#0A3BF5 #446AF8 #7F99FA #BAC8FC #E2E8FE

Accessibility & contrast

On white

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

On black

7.84
#7F99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F99FA
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F99FA#FFFFFF#000000##000000
##7F99FA1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#6699F8
Tritanopia (blue-blind)
#4BAEBD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7f99fa;
/* rgb */ color: rgb(127, 153, 250);
/* oklch */ color: oklch(70.5% 0.145 271.0);
Tailwind
colors: {
  custom: {
    50: '#aab6fc',
    500: '#7f99fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f99fa;
$custom-light: #aab6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f99fa",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 227.317,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70531,
    "c": 0.14506,
    "h": 271
  },
  "luminance": 0.34197
}

Semantic roles & 50–950 ramp

primary
#7F99FA
secondary
#F6EFD5
accent
#B500E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111117
muted
#808085

Preview Lab

Preview with #7F99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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