#7C81FE#7C81FE

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

Color values

HEX#7C81FE
RGBrgb(124, 129, 254)
HSLhsl(238, 98%, 74%)
HSVhsv(238, 51%, 100%)
CMYKcmyk(51.2%, 49.2%, 0%, 0.4%)
CIE-LABlab(59.10, 31.38, -63.08)
CIE-LCHlch(59.10, 70.45, 296.45°)
OKLaboklab(65.97% 0.0267 -0.1798)
OKLCHoklch(65.97% 0.182 278.4)
XYZxyz(34.0462, 27.1393, 97.1911)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81FE #FEF97C
analogous
#7CC2FE #7C81FE #B87CFE
triadic
#7C81FE #FE7C81 #81FE7C
tetradic
#7C81FE #FE7CC2 #FEF97C #7CFEB8
square
#7C81FE #FE7CC2 #FEF97C #7CFEB8
split-complementary
#7C81FE #FEB87C #C2FE7C
monochromatic
#030CFD #3F47FE #7C81FE #B9BBFE #E1E2FF

Accessibility & contrast

On white

3.27
#7C81FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C81FE#FFFFFF#000000##000000
##7C81FE1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4594FF
Deuteranopia (green-blind)
#3689FB
Tritanopia (blue-blind)
#459DB4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c81fe;
/* rgb */ color: rgb(124, 129, 254);
/* oklch */ color: oklch(66.0% 0.182 278.4);
Tailwind
colors: {
  custom: {
    50: '#aaa5ff',
    500: '#7c81fe',
    950: '#000000',
  },
}
SCSS
$custom: #7c81fe;
$custom-light: #aaa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81fe",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 254
  },
  "hsl": {
    "h": 237.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.18182,
    "h": 278.4
  },
  "luminance": 0.27141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C81FE

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

Preview Lab → · Contrast checker → · Palette generator →

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