#7F9EFE#7F9EFE

#7F9EFE is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.7% C 0.144 H 269.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7F9EFE
RGBrgb(127, 158, 254)
HSLhsl(225, 98%, 75%)
HSVhsv(225, 50%, 100%)
CMYKcmyk(50%, 37.8%, 0%, 0.4%)
CIE-LABlab(66.61, 15.03, -51.11)
CIE-LCHlch(66.61, 53.27, 286.39°)
OKLaboklab(71.75% -0.0024 -0.1445)
OKLCHoklch(71.75% 0.145 269)
XYZxyz(38.8628, 36.1189, 98.6705)
Luminance0.3612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9EFE #FEDF7F
analogous
#7FDEFE #7F9EFE #9F7FFE
triadic
#7F9EFE #FE7F9E #9EFE7F
tetradic
#7F9EFE #FE7FDE #FEDF7F #7FFE9F
square
#7F9EFE #FE7FDE #FEDF7F #7FFE9F
split-complementary
#7F9EFE #FE9F7F #DEFE7F
monochromatic
#0642FD #4270FE #7F9EFE #BCCCFE #E1E8FF

Accessibility & contrast

On white

2.55
#7F9EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7F9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F9EFE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9EFE#FFFFFF#000000##000000
##7F9EFE1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#6B9DFC
Tritanopia (blue-blind)
#47B2C2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7f9efe;
/* rgb */ color: rgb(127, 158, 254);
/* oklch */ color: oklch(71.7% 0.144 269.0);
Tailwind
colors: {
  custom: {
    50: '#abbaff',
    500: '#7f9efe',
    950: '#000000',
  },
}
SCSS
$custom: #7f9efe;
$custom-light: #abbaff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9efe",
  "rgb": {
    "r": 127,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 225.354,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.1445,
    "h": 269
  },
  "luminance": 0.36122
}

Semantic roles & 50–950 ramp

primary
#7F9EFE
secondary
#F7EED4
accent
#AD00E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#111118
muted
#808086

Preview Lab

Preview with #7F9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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