#7F81EF#7F81EF

#7F81EF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.3% C 0.161 H 280.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7F81EF
RGBrgb(127, 129, 239)
HSLhsl(239, 78%, 72%)
HSVhsv(239, 47%, 94%)
CMYKcmyk(46.9%, 46%, 0%, 6.3%)
CIE-LABlab(58.46, 27.55, -55.82)
CIE-LCHlch(58.46, 62.25, 296.27°)
OKLaboklab(65.26% 0.0284 -0.1585)
OKLCHoklch(65.26% 0.161 280.2)
XYZxyz(32.1779, 26.4429, 85.0531)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F81EF #EFED7F
analogous
#7FB9EF #7F81EF #B57FEF
triadic
#7F81EF #EF7F81 #81EF7F
tetradic
#7F81EF #EF7FB9 #EFED7F #7FEFB5
square
#7F81EF #EF7FB9 #EFED7F #7FEFB5
split-complementary
#7F81EF #EFB57F #B9EF7F
monochromatic
#1B1ED9 #494BE8 #7F81EF #B5B7F6 #E4E4FC

Accessibility & contrast

On white

3.34
#7F81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#7F81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F81EF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F81EF#FFFFFF#000000##000000
##7F81EF1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#4B88ED
Tritanopia (blue-blind)
#5798AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f81ef;
/* rgb */ color: rgb(127, 129, 239);
/* oklch */ color: oklch(65.3% 0.161 280.2);
Tailwind
colors: {
  custom: {
    50: '#aaa5f5',
    500: '#7f81ef',
    950: '#000000',
  },
}
SCSS
$custom: #7f81ef;
$custom-light: #aaa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f81ef",
  "rgb": {
    "r": 127,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 238.929,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65258,
    "c": 0.161,
    "h": 280.2
  },
  "luminance": 0.26445
}

Semantic roles & 50–950 ramp

primary
#7F81EF
secondary
#F3F3D7
accent
#D60BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7F81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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