#7F8EF9#7F8EF9

#7F8EF9 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.158 H 275.4°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7F8EF9
RGBrgb(127, 142, 249)
HSLhsl(233, 91%, 74%)
HSVhsv(233, 49%, 98%)
CMYKcmyk(49%, 43%, 0%, 2.4%)
CIE-LABlab(62.25, 22.86, -55.29)
CIE-LCHlch(62.25, 59.83, 292.46°)
OKLaboklab(68.32% 0.0149 -0.1568)
OKLCHoklch(68.32% 0.158 275.4)
XYZxyz(35.5189, 30.6955, 93.6574)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F8EF9 #F9EA7F
analogous
#7FCBF9 #7F8EF9 #AD7FF9
triadic
#7F8EF9 #F97F8E #8EF97F
tetradic
#7F8EF9 #F97FCB #F9EA7F #7FF9AD
square
#7F8EF9 #F97FCB #F9EA7F #7FF9AD
split-complementary
#7F8EF9 #F9AD7F #CBF97F
monochromatic
#0B28F2 #455AF6 #7F8EF9 #B9C2FC #E2E5FE

Accessibility & contrast

On white

2.94
#7F8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7F8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7F8EF9
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F8EF9#FFFFFF#000000##000000
##7F8EF91.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#4EA5B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7f8ef9;
/* rgb */ color: rgb(127, 142, 249);
/* oklch */ color: oklch(68.3% 0.158 275.4);
Tailwind
colors: {
  custom: {
    50: '#abaefc',
    500: '#7f8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #7f8ef9;
$custom-light: #abaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f8ef9",
  "rgb": {
    "r": 127,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 232.623,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68318,
    "c": 0.15753,
    "h": 275.4
  },
  "luminance": 0.30698
}

Semantic roles & 50–950 ramp

primary
#7F8EF9
secondary
#F6F2D5
accent
#C900E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7F8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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