#7C81FC#7C81FC

#7C81FC is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.8% C 0.179 H 278.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7C81FC
RGBrgb(124, 129, 252)
HSLhsl(238, 96%, 74%)
HSVhsv(238, 51%, 99%)
CMYKcmyk(50.8%, 48.8%, 0%, 1.2%)
CIE-LABlab(58.99, 30.77, -62.17)
CIE-LCHlch(58.99, 69.37, 296.34°)
OKLaboklab(65.85% 0.0265 -0.1772)
OKLCHoklch(65.85% 0.179 278.5)
XYZxyz(33.7277, 27.0119, 95.5132)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C81FC #FCF77C
analogous
#7CC1FC #7C81FC #B77CFC
triadic
#7C81FC #FC7C81 #81FC7C
tetradic
#7C81FC #FC7CC1 #FCF77C #7CFCB7
square
#7C81FC #FC7CC1 #FCF77C #7CFCB7
split-complementary
#7C81FC #FCB77C #C1FC7C
monochromatic
#060FF8 #4047FB #7C81FC #B8BBFD #E1E2FE

Accessibility & contrast

On white

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

On black

6.40
#7C81FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C81FC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C81FC#FFFFFF#000000##000000
##7C81FC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#3989F9
Tritanopia (blue-blind)
#479CB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7c81fc;
/* rgb */ color: rgb(124, 129, 252);
/* oklch */ color: oklch(65.8% 0.179 278.5);
Tailwind
colors: {
  custom: {
    50: '#aaa5fe',
    500: '#7c81fc',
    950: '#000000',
  },
}
SCSS
$custom: #7c81fc;
$custom-light: #aaa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7c81fc",
  "rgb": {
    "r": 124,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 237.656,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65845,
    "c": 0.17914,
    "h": 278.5
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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