#7F8EF5#7F8EF5

#7F8EF5 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.152 H 275.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7F8EF5
RGBrgb(127, 142, 245)
HSLhsl(232, 86%, 73%)
HSVhsv(232, 48%, 96%)
CMYKcmyk(48.2%, 42%, 0%, 3.9%)
CIE-LABlab(62.04, 21.67, -53.43)
CIE-LCHlch(62.04, 57.66, 292.08°)
OKLaboklab(68.09% 0.0142 -0.1514)
OKLCHoklch(68.09% 0.152 275.4)
XYZxyz(34.9017, 30.4486, 90.4066)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8EF5 #F5E67F
analogous
#7FC9F5 #7F8EF5 #AB7FF5
triadic
#7F8EF5 #F57F8E #8EF57F
tetradic
#7F8EF5 #F57FC9 #F5E67F #7FF5AB
square
#7F8EF5 #F57FC9 #F5E67F #7FF5AB
split-complementary
#7F8EF5 #F5AB7F #C9F57F
monochromatic
#122DE8 #465CF1 #7F8EF5 #B8C0F9 #E3E6FD

Accessibility & contrast

On white

2.96
#7F8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7F8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8EF5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8EF5#FFFFFF#000000##000000
##7F8EF51.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#51A4B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f8ef5;
/* rgb */ color: rgb(127, 142, 245);
/* oklch */ color: oklch(68.1% 0.152 275.4);
Tailwind
colors: {
  custom: {
    50: '#aaaef9',
    500: '#7f8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #7f8ef5;
$custom-light: #aaaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8ef5",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 232.373,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68089,
    "c": 0.15203,
    "h": 275.4
  },
  "luminance": 0.30451
}

Semantic roles & 50–950 ramp

primary
#7F8EF5
secondary
#F5F1D6
accent
#C603E2
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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