#7E8FFA#7E8FFA

#7E8FFA is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.158 H 274.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7E8FFA
RGBrgb(126, 143, 250)
HSLhsl(232, 93%, 74%)
HSVhsv(232, 50%, 98%)
CMYKcmyk(49.6%, 42.8%, 0%, 2%)
CIE-LABlab(62.49, 22.35, -55.46)
CIE-LCHlch(62.49, 59.80, 291.95°)
OKLaboklab(68.5% 0.0128 -0.1573)
OKLCHoklch(68.5% 0.158 274.7)
XYZxyz(35.6765, 30.9805, 94.5238)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FFA #FAE97E
analogous
#7ECDFA #7E8FFA #AB7EFA
triadic
#7E8FFA #FA7E8F #8FFA7E
tetradic
#7E8FFA #FA7ECD #FAE97E #7EFAAB
square
#7E8FFA #FA7ECD #FAE97E #7EFAAB
split-complementary
#7E8FFA #FAAB7E #CDFA7E
monochromatic
#092AF4 #435CF8 #7E8FFA #B9C2FC #E2E5FE

Accessibility & contrast

On white

2.92
#7E8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7E8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8FFA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FFA#FFFFFF#000000##000000
##7E8FFA1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#5792F8
Tritanopia (blue-blind)
#4BA6B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e8ffa;
/* rgb */ color: rgb(126, 143, 250);
/* oklch */ color: oklch(68.5% 0.158 274.7);
Tailwind
colors: {
  custom: {
    50: '#aaaffc',
    500: '#7e8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ffa;
$custom-light: #aaaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ffa",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 231.774,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.15786,
    "h": 274.7
  },
  "luminance": 0.30983
}

Semantic roles & 50–950 ramp

primary
#7E8FFA
secondary
#F6F1D5
accent
#C600E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7E8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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