#7E8DFA#7E8DFA

#7E8DFA is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.1% C 0.160 H 275.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7E8DFA
RGBrgb(126, 141, 250)
HSLhsl(233, 93%, 74%)
HSVhsv(233, 50%, 98%)
CMYKcmyk(49.6%, 43.6%, 0%, 2%)
CIE-LABlab(61.99, 23.53, -56.27)
CIE-LCHlch(61.99, 60.99, 292.69°)
OKLaboklab(68.12% 0.0151 -0.1597)
OKLCHoklch(68.12% 0.16 275.4)
XYZxyz(35.3789, 30.3854, 94.4247)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8DFA #FAEB7E
analogous
#7ECBFA #7E8DFA #AD7EFA
triadic
#7E8DFA #FA7E8D #8DFA7E
tetradic
#7E8DFA #FA7ECB #FAEB7E #7EFAAD
square
#7E8DFA #FA7ECB #FAEB7E #7EFAAD
split-complementary
#7E8DFA #FAAD7E #CBFA7E
monochromatic
#0926F4 #4359F8 #7E8DFA #B9C1FC #E2E5FE

Accessibility & contrast

On white

2.97
#7E8DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7E8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7E8DFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8DFA#FFFFFF#000000##000000
##7E8DFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#4BA4B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7e8dfa;
/* rgb */ color: rgb(126, 141, 250);
/* oklch */ color: oklch(68.1% 0.160 275.4);
Tailwind
colors: {
  custom: {
    50: '#aaaefc',
    500: '#7e8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #7e8dfa;
$custom-light: #aaaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8dfa",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 232.742,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68117,
    "c": 0.16042,
    "h": 275.4
  },
  "luminance": 0.30388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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