#7D96FB#7D96FB

#7D96FB is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.9% C 0.151 H 271.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7D96FB
RGBrgb(125, 150, 251)
HSLhsl(228, 94%, 74%)
HSVhsv(228, 50%, 98%)
CMYKcmyk(50.2%, 40.2%, 0%, 1.6%)
CIE-LABlab(64.27, 18.33, -53.19)
CIE-LCHlch(64.27, 56.26, 289.02°)
OKLaboklab(69.87% 0.0041 -0.1506)
OKLCHoklch(69.87% 0.151 271.5)
XYZxyz(36.7708, 33.1353, 95.7062)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D96FB #FBE27D
analogous
#7DD5FB #7D96FB #A37DFB
triadic
#7D96FB #FB7D96 #96FB7D
tetradic
#7D96FB #FB7DD5 #FBE27D #7DFBA3
square
#7D96FB #FB7DD5 #FBE27D #7DFBA3
split-complementary
#7D96FB #FBA37D #D5FB7D
monochromatic
#0837F6 #4266F9 #7D96FB #B8C6FD #E1E7FE

Accessibility & contrast

On white

2.75
#7D96FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7D96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D96FB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D96FB#FFFFFF#000000##000000
##7D96FB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#46ACBC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7d96fb;
/* rgb */ color: rgb(125, 150, 251);
/* oklch */ color: oklch(69.9% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#a9b4fd',
    500: '#7d96fb',
    950: '#000000',
  },
}
SCSS
$custom: #7d96fb;
$custom-light: #a9b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d96fb",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 228.095,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69866,
    "c": 0.15069,
    "h": 271.5
  },
  "luminance": 0.33138
}

Semantic roles & 50–950 ramp

primary
#7D96FB
secondary
#F6F0D5
accent
#B800E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7D96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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