#7E9FF2#7E9FF2

#7E9FF2 is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.3% C 0.127 H 266.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7E9FF2
RGBrgb(126, 159, 242)
HSLhsl(223, 82%, 72%)
HSVhsv(223, 48%, 95%)
CMYKcmyk(47.9%, 34.3%, 0%, 5.1%)
CIE-LABlab(66.24, 10.66, -45.14)
CIE-LCHlch(66.24, 46.38, 283.29°)
OKLaboklab(71.26% -0.0073 -0.1271)
OKLCHoklch(71.26% 0.127 266.7)
XYZxyz(37.0241, 35.6403, 88.9155)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9FF2 #F2D17E
analogous
#7ED9F2 #7E9FF2 #977EF2
triadic
#7E9FF2 #F27E9F #9FF27E
tetradic
#7E9FF2 #F27ED9 #F2D17E #7EF297
square
#7E9FF2 #F27ED9 #F2D17E #7EF297
split-complementary
#7E9FF2 #F2977E #D9F27E
monochromatic
#1650DF #4676EC #7E9FF2 #B6C8F8 #E3EAFC

Accessibility & contrast

On white

2.58
#7E9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#7E9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E9FF2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9FF2#FFFFFF#000000##000000
##7E9FF21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F5
Deuteranopia (green-blind)
#739CF0
Tritanopia (blue-blind)
#4EB1BD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7e9ff2;
/* rgb */ color: rgb(126, 159, 242);
/* oklch */ color: oklch(71.3% 0.127 266.7);
Tailwind
colors: {
  custom: {
    50: '#a9bbf6',
    500: '#7e9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7e9ff2;
$custom-light: #a9bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9ff2",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 222.931,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71261,
    "c": 0.12731,
    "h": 266.7
  },
  "luminance": 0.35643
}

Semantic roles & 50–950 ramp

primary
#7E9FF2
secondary
#F4ECD7
accent
#A107DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7E9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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