#7A81FA#7A81FA

#7A81FA is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.177 H 277.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7A81FA
RGBrgb(122, 129, 250)
HSLhsl(237, 93%, 73%)
HSVhsv(237, 51%, 98%)
CMYKcmyk(51.2%, 48.4%, 0%, 2%)
CIE-LABlab(58.73, 29.75, -61.48)
CIE-LCHlch(58.73, 68.30, 295.82°)
OKLaboklab(65.58% 0.0241 -0.1752)
OKLCHoklch(65.58% 0.177 277.8)
XYZxyz(33.1262, 26.7382, 93.8394)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A81FA #FAF37A
analogous
#7AC1FA #7A81FA #B37AFA
triadic
#7A81FA #FA7A81 #81FA7A
tetradic
#7A81FA #FA7AC1 #FAF37A #7AFAB3
square
#7A81FA #FA7AC1 #FAF37A #7AFAB3
split-complementary
#7A81FA #FAB37A #C1FA7A
monochromatic
#0916F1 #3F49F8 #7A81FA #B5B9FC #E2E3FE

Accessibility & contrast

On white

3.31
#7A81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7A81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A81FA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A81FA#FFFFFF#000000##000000
##7A81FA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#439CB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a81fa;
/* rgb */ color: rgb(122, 129, 250);
/* oklch */ color: oklch(65.6% 0.177 277.8);
Tailwind
colors: {
  custom: {
    50: '#a8a5fd',
    500: '#7a81fa',
    950: '#000000',
  },
}
SCSS
$custom: #7a81fa;
$custom-light: #a8a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a81fa",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 236.719,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.17685,
    "h": 277.8
  },
  "luminance": 0.2674
}

Semantic roles & 50–950 ramp

primary
#7A81FA
secondary
#F6F4D5
accent
#D900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7A81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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