#7D96FC#7D96FC

#7D96FC is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.9% C 0.152 H 271.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7D96FC
RGBrgb(125, 150, 252)
HSLhsl(228, 95%, 74%)
HSVhsv(228, 50%, 99%)
CMYKcmyk(50.4%, 40.5%, 0%, 1.2%)
CIE-LABlab(64.32, 18.64, -53.65)
CIE-LCHlch(64.32, 56.80, 289.15°)
OKLaboklab(69.92% 0.0042 -0.152)
OKLCHoklch(69.92% 0.152 271.6)
XYZxyz(36.9288, 33.1985, 96.5386)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D96FC #FCE37D
analogous
#7DD6FC #7D96FC #A47DFC
triadic
#7D96FC #FC7D96 #96FC7D
tetradic
#7D96FC #FC7DD6 #FCE37D #7DFCA4
square
#7D96FC #FC7DD6 #FCE37D #7DFCA4
split-complementary
#7D96FC #FCA47D #D6FC7D
monochromatic
#0636F9 #4166FB #7D96FC #B9C6FD #E1E7FE

Accessibility & contrast

On white

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

On black

7.64
#7D96FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7D96FC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D96FC#FFFFFF#000000##000000
##7D96FC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#6097FA
Tritanopia (blue-blind)
#45ACBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7d96fc;
/* rgb */ color: rgb(125, 150, 252);
/* oklch */ color: oklch(69.9% 0.152 271.6);
Tailwind
colors: {
  custom: {
    50: '#aab4fe',
    500: '#7d96fc',
    950: '#000000',
  },
}
SCSS
$custom: #7d96fc;
$custom-light: #aab4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d96fc",
  "rgb": {
    "r": 125,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 228.189,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69921,
    "c": 0.15207,
    "h": 271.6
  },
  "luminance": 0.33201
}

Semantic roles & 50–950 ramp

primary
#7D96FC
secondary
#F7F0D4
accent
#B800E6
background
#FAFBFF
surface
#F5F6FF
border
#CFD0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7D96FC

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

Preview Lab → · Contrast checker → · Palette generator →

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