#7D81FA#7D81FA

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

Color values

HEX#7D81FA
RGBrgb(125, 129, 250)
HSLhsl(238, 93%, 74%)
HSVhsv(238, 50%, 98%)
CMYKcmyk(50%, 48.4%, 0%, 2%)
CIE-LABlab(58.94, 30.38, -61.14)
CIE-LCHlch(58.94, 68.27, 296.42°)
OKLaboklab(65.79% 0.0274 -0.1741)
OKLCHoklch(65.79% 0.176 279)
XYZxyz(33.5577, 26.9607, 93.8596)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D81FA #FAF67D
analogous
#7DBFFA #7D81FA #B77DFA
triadic
#7D81FA #FA7D81 #81FA7D
tetradic
#7D81FA #FA7DBF #FAF67D #7DFAB7
square
#7D81FA #FA7DBF #FAF67D #7DFAB7
split-complementary
#7D81FA #FAB77D #BFFA7D
monochromatic
#0911F3 #4248F8 #7D81FA #B8BAFC #E2E2FE

Accessibility & contrast

On white

3.29
#7D81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#7D81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D81FA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D81FA#FFFFFF#000000##000000
##7D81FA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d81fa;
/* rgb */ color: rgb(125, 129, 250);
/* oklch */ color: oklch(65.8% 0.176 279.0);
Tailwind
colors: {
  custom: {
    50: '#aaa5fd',
    500: '#7d81fa',
    950: '#000000',
  },
}
SCSS
$custom: #7d81fa;
$custom-light: #aaa5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d81fa",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 238.08,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.65789,
    "c": 0.17627,
    "h": 279
  },
  "luminance": 0.26963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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