#7E81FC#7E81FC

#7E81FC is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.0% C 0.179 H 279.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7E81FC
RGBrgb(126, 129, 252)
HSLhsl(239, 95%, 74%)
HSVhsv(239, 50%, 99%)
CMYKcmyk(50%, 48.8%, 0%, 1.2%)
CIE-LABlab(59.12, 31.19, -61.94)
CIE-LCHlch(59.12, 69.35, 296.73°)
OKLaboklab(65.99% 0.0287 -0.1764)
OKLCHoklch(65.99% 0.179 279.2)
XYZxyz(34.0197, 27.1624, 95.5269)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E81FC #FCF97E
analogous
#7EC0FC #7E81FC #BA7EFC
triadic
#7E81FC #FC7E81 #81FC7E
tetradic
#7E81FC #FC7EC0 #FCF97E #7EFCBA
square
#7E81FC #FC7EC0 #FCF97E #7EFCBA
split-complementary
#7E81FC #FCBA7E #C0FC7E
monochromatic
#060CF9 #4247FB #7E81FC #BABBFD #E1E2FE

Accessibility & contrast

On white

3.26
#7E81FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7E81FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E81FC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E81FC#FFFFFF#000000##000000
##7E81FC1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#3B8AF9
Tritanopia (blue-blind)
#4B9CB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e81fc;
/* rgb */ color: rgb(126, 129, 252);
/* oklch */ color: oklch(66.0% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#aba5fe',
    500: '#7e81fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e81fc;
$custom-light: #aba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e81fc",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 238.571,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65985,
    "c": 0.17877,
    "h": 279.2
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#7E81FC
secondary
#F7F6D4
accent
#E000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7E81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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