#7F97F2#7F97F2

#7F97F2 is a light, vivid blue. Relative luminance 0.331; OKLCH L 69.7% C 0.137 H 271.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7F97F2
RGBrgb(127, 151, 242)
HSLhsl(227, 82%, 72%)
HSVhsv(227, 48%, 95%)
CMYKcmyk(47.5%, 37.6%, 0%, 5.1%)
CIE-LABlab(64.20, 15.52, -48.35)
CIE-LCHlch(64.20, 50.78, 287.80°)
OKLaboklab(69.7% 0.0031 -0.1365)
OKLCHoklch(69.7% 0.137 271.3)
XYZxyz(35.8409, 33.0539, 88.4786)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F97F2 #F2DA7F
analogous
#7FD1F2 #7F97F2 #A07FF2
triadic
#7F97F2 #F27F97 #97F27F
tetradic
#7F97F2 #F27FD1 #F2DA7F #7FF2A0
square
#7F97F2 #F27FD1 #F2DA7F #7FF2A0
split-complementary
#7F97F2 #F2A07F #D1F27F
monochromatic
#1741E0 #476AEC #7F97F2 #B7C4F8 #E3E8FC

Accessibility & contrast

On white

2.76
#7F97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7F97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F97F2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F97F2#FFFFFF#000000##000000
##7F97F21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#52AAB9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7f97f2;
/* rgb */ color: rgb(127, 151, 242);
/* oklch */ color: oklch(69.7% 0.137 271.3);
Tailwind
colors: {
  custom: {
    50: '#aab5f7',
    500: '#7f97f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f97f2;
$custom-light: #aab5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f97f2",
  "rgb": {
    "r": 127,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 227.478,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69701,
    "c": 0.13651,
    "h": 271.3
  },
  "luminance": 0.33056
}

Semantic roles & 50–950 ramp

primary
#7F97F2
secondary
#F4EED7
accent
#B108DE
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7F97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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