#7F8BF5#7F8BF5

#7F8BF5 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.156 H 276.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#7F8BF5
RGBrgb(127, 139, 245)
HSLhsl(234, 86%, 73%)
HSVhsv(234, 48%, 96%)
CMYKcmyk(48.2%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.28, 23.43, -54.64)
CIE-LCHlch(61.28, 59.45, 293.21°)
OKLaboklab(67.51% 0.0177 -0.1549)
OKLCHoklch(67.51% 0.156 276.5)
XYZxyz(34.4613, 29.5679, 90.2598)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8BF5 #F5E97F
analogous
#7FC6F5 #7F8BF5 #AE7FF5
triadic
#7F8BF5 #F57F8B #8BF57F
tetradic
#7F8BF5 #F57FC6 #F5E97F #7FF5AE
square
#7F8BF5 #F57FC6 #F5E97F #7FF5AE
split-complementary
#7F8BF5 #F5AE7F #C6F57F
monochromatic
#1228E8 #4658F1 #7F8BF5 #B8BEF9 #E3E5FD

Accessibility & contrast

On white

3.04
#7F8BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#7F8BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F8BF5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8BF5#FFFFFF#000000##000000
##7F8BF51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#568FF3
Tritanopia (blue-blind)
#52A1B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7f8bf5;
/* rgb */ color: rgb(127, 139, 245);
/* oklch */ color: oklch(67.5% 0.156 276.5);
Tailwind
colors: {
  custom: {
    50: '#aaacf9',
    500: '#7f8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7f8bf5;
$custom-light: #aaacf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8bf5",
  "rgb": {
    "r": 127,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 233.898,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.15593,
    "h": 276.5
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

primary
#7F8BF5
secondary
#F5F2D6
accent
#CB03E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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