#7D81FD#7D81FD

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

Color values

HEX#7D81FD
RGBrgb(125, 129, 253)
HSLhsl(238, 97%, 74%)
HSVhsv(238, 51%, 99%)
CMYKcmyk(50.6%, 49%, 0%, 0.8%)
CIE-LABlab(59.11, 31.28, -62.51)
CIE-LCHlch(59.11, 69.90, 296.59°)
OKLaboklab(65.98% 0.0277 -0.1781)
OKLCHoklch(65.98% 0.18 278.8)
XYZxyz(34.0318, 27.1503, 96.3567)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D81FD #FDF97D
analogous
#7DC1FD #7D81FD #B97DFD
triadic
#7D81FD #FD7D81 #81FD7D
tetradic
#7D81FD #FD7DC1 #FDF97D #7DFDB9
square
#7D81FD #FD7DC1 #FDF97D #7DFDB9
split-complementary
#7D81FD #FDB97D #C1FD7D
monochromatic
#040CFB #4147FC #7D81FD #B9BBFE #E1E2FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D81FD#FFFFFF#000000##000000
##7D81FD1.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)
#4693FF
Deuteranopia (green-blind)
#3989FA
Tritanopia (blue-blind)
#489CB3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d81fd;
/* rgb */ color: rgb(125, 129, 253);
/* oklch */ color: oklch(66.0% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#aaa5ff',
    500: '#7d81fd',
    950: '#000000',
  },
}
SCSS
$custom: #7d81fd;
$custom-light: #aaa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d81fd",
  "rgb": {
    "r": 125,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 238.125,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.18029,
    "h": 278.8
  },
  "luminance": 0.27152
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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