#7F81FA#7F81FA

#7F81FA is a light, vivid blue. Relative luminance 0.271; OKLCH L 65.9% C 0.176 H 279.7°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7F81FA
RGBrgb(127, 129, 250)
HSLhsl(239, 92%, 74%)
HSVhsv(239, 49%, 98%)
CMYKcmyk(49.2%, 48.4%, 0%, 2%)
CIE-LABlab(59.08, 30.81, -60.91)
CIE-LCHlch(59.08, 68.25, 296.83°)
OKLaboklab(65.93% 0.0297 -0.1734)
OKLCHoklch(65.93% 0.176 279.7)
XYZxyz(33.8527, 27.1128, 93.8734)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F81FA #FAF87F
analogous
#7FBFFA #7F81FA #BB7FFA
triadic
#7F81FA #FA7F81 #81FA7F
tetradic
#7F81FA #FA7FBF #FAF87F #7FFABB
square
#7F81FA #FA7FBF #FAF87F #7FFABB
split-complementary
#7F81FA #FABB7F #BFFA7F
monochromatic
#0A0DF5 #4447F8 #7F81FA #BABBFC #E2E2FE

Accessibility & contrast

On white

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

On black

6.42
#7F81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F81FA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F81FA#FFFFFF#000000##000000
##7F81FA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f81fa;
/* rgb */ color: rgb(127, 129, 250);
/* oklch */ color: oklch(65.9% 0.176 279.7);
Tailwind
colors: {
  custom: {
    50: '#aba5fd',
    500: '#7f81fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f81fa;
$custom-light: #aba5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f81fa",
  "rgb": {
    "r": 127,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 239.024,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65931,
    "c": 0.17591,
    "h": 279.7
  },
  "luminance": 0.27115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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