#7E8DF1#7E8DF1

#7E8DF1 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.6% C 0.148 H 275.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7E8DF1
RGBrgb(126, 141, 241)
HSLhsl(232, 80%, 72%)
HSVhsv(232, 48%, 95%)
CMYKcmyk(47.7%, 41.5%, 0%, 5.5%)
CIE-LABlab(61.51, 20.84, -52.07)
CIE-LCHlch(61.51, 56.08, 291.81°)
OKLaboklab(67.6% 0.0136 -0.1474)
OKLCHoklch(67.6% 0.148 275.3)
XYZxyz(34.0013, 29.8343, 87.1690)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DF1 #F1E27E
analogous
#7EC7F1 #7E8DF1 #A97EF1
triadic
#7E8DF1 #F17E8D #8DF17E
tetradic
#7E8DF1 #F17EC7 #F1E27E #7EF1A9
square
#7E8DF1 #F17EC7 #F1E27E #7EF1A9
split-complementary
#7E8DF1 #F1A97E #C7F17E
monochromatic
#1832DD #475CEB #7E8DF1 #B5BEF7 #E3E7FC

Accessibility & contrast

On white

3.01
#7E8DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7E8DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8DF1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DF1#FFFFFF#000000##000000
##7E8DF11.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F5
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#52A2B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7e8df1;
/* rgb */ color: rgb(126, 141, 241);
/* oklch */ color: oklch(67.6% 0.148 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9aef6',
    500: '#7e8df1',
    950: '#000000',
  },
}
SCSS
$custom: #7e8df1;
$custom-light: #a9aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8df1",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 241
  },
  "hsl": {
    "h": 232.174,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67601,
    "c": 0.14805,
    "h": 275.3
  },
  "luminance": 0.29836
}

Semantic roles & 50–950 ramp

primary
#7E8DF1
secondary
#F4F0D7
accent
#C109DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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