#7F8DF7#7F8DF7

#7F8DF7 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.0% C 0.156 H 275.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7F8DF7
RGBrgb(127, 141, 247)
HSLhsl(233, 88%, 73%)
HSVhsv(233, 49%, 97%)
CMYKcmyk(48.6%, 42.9%, 0%, 3.1%)
CIE-LABlab(61.89, 22.85, -54.76)
CIE-LCHlch(61.89, 59.34, 292.65°)
OKLaboklab(68.01% 0.0157 -0.1553)
OKLCHoklch(68.01% 0.156 275.8)
XYZxyz(35.0605, 30.2751, 91.9739)
Luminance0.3028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8DF7 #F7E97F
analogous
#7FC9F7 #7F8DF7 #AD7FF7
triadic
#7F8DF7 #F77F8D #8DF77F
tetradic
#7F8DF7 #F77FC9 #F7E97F #7FF7AD
square
#7F8DF7 #F77FC9 #F7E97F #7FF7AD
split-complementary
#7F8DF7 #F7AD7F #C9F77F
monochromatic
#0F29ED #455AF3 #7F8DF7 #B9C0FB #E2E5FD

Accessibility & contrast

On white

2.98
#7F8DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7F8DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8DF7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8DF7#FFFFFF#000000##000000
##7F8DF71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#50A3B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f8df7;
/* rgb */ color: rgb(127, 141, 247);
/* oklch */ color: oklch(68.0% 0.156 275.8);
Tailwind
colors: {
  custom: {
    50: '#aaaefa',
    500: '#7f8df7',
    950: '#000000',
  },
}
SCSS
$custom: #7f8df7;
$custom-light: #aaaefa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8df7",
  "rgb": {
    "r": 127,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 233,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.15608,
    "h": 275.8
  },
  "luminance": 0.30277
}

Semantic roles & 50–950 ramp

primary
#7F8DF7
secondary
#F5F2D6
accent
#CA01E5
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F8DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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