#7E81FA#7E81FA

#7E81FA is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.9% C 0.176 H 279.3°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E81FA
RGBrgb(126, 129, 250)
HSLhsl(239, 93%, 74%)
HSVhsv(239, 50%, 98%)
CMYKcmyk(49.6%, 48.4%, 0%, 2%)
CIE-LABlab(59.01, 30.59, -61.02)
CIE-LCHlch(59.01, 68.26, 296.63°)
OKLaboklab(65.86% 0.0285 -0.1738)
OKLCHoklch(65.86% 0.176 279.3)
XYZxyz(33.7044, 27.0363, 93.8665)
Luminance0.2704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E81FA #FAF77E
analogous
#7EBFFA #7E81FA #B97EFA
triadic
#7E81FA #FA7E81 #81FA7E
tetradic
#7E81FA #FA7EBF #FAF77E #7EFAB9
square
#7E81FA #FA7EBF #FAF77E #7EFAB9
split-complementary
#7E81FA #FAB97E #BFFA7E
monochromatic
#090FF4 #4347F8 #7E81FA #B9BBFC #E2E2FE

Accessibility & contrast

On white

3.28
#7E81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7E81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E81FA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E81FA#FFFFFF#000000##000000
##7E81FA1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FE
Deuteranopia (green-blind)
#3E89F7
Tritanopia (blue-blind)
#4D9BB2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e81fa;
/* rgb */ color: rgb(126, 129, 250);
/* oklch */ color: oklch(65.9% 0.176 279.3);
Tailwind
colors: {
  custom: {
    50: '#aba5fd',
    500: '#7e81fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e81fa;
$custom-light: #aba5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e81fa",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 238.548,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65859,
    "c": 0.17609,
    "h": 279.3
  },
  "luminance": 0.27038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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