#7E8FFC#7E8FFC

#7E8FFC is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.6% C 0.161 H 274.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7E8FFC
RGBrgb(126, 143, 252)
HSLhsl(232, 95%, 74%)
HSVhsv(232, 50%, 99%)
CMYKcmyk(50%, 43.3%, 0%, 1.2%)
CIE-LABlab(62.60, 22.95, -56.39)
CIE-LCHlch(62.60, 60.88, 292.15°)
OKLaboklab(68.62% 0.0131 -0.16)
OKLCHoklch(68.62% 0.161 274.7)
XYZxyz(35.9918, 31.1066, 96.1842)
Luminance0.3111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8FFC #FCEB7E
analogous
#7ECEFC #7E8FFC #AC7EFC
triadic
#7E8FFC #FC7E8F #8FFC7E
tetradic
#7E8FFC #FC7ECE #FCEB7E #7EFCAC
square
#7E8FFC #FC7ECE #FCEB7E #7EFCAC
split-complementary
#7E8FFC #FCAC7E #CEFC7E
monochromatic
#0627F9 #425BFB #7E8FFC #BAC3FD #E1E5FE

Accessibility & contrast

On white

2.91
#7E8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7E8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8FFC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8FFC#FFFFFF#000000##000000
##7E8FFC1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5592FA
Tritanopia (blue-blind)
#49A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7e8ffc;
/* rgb */ color: rgb(126, 143, 252);
/* oklch */ color: oklch(68.6% 0.161 274.7);
Tailwind
colors: {
  custom: {
    50: '#aaaffe',
    500: '#7e8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #7e8ffc;
$custom-light: #aaaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8ffc",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 231.905,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68619,
    "c": 0.16059,
    "h": 274.7
  },
  "luminance": 0.31109
}

Semantic roles & 50–950 ramp

primary
#7E8FFC
secondary
#F7F2D4
accent
#C700E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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