#7F80FA#7F80FA

#7F80FA is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.7% C 0.177 H 280.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7F80FA
RGBrgb(127, 128, 250)
HSLhsl(240, 92%, 74%)
HSVhsv(240, 49%, 98%)
CMYKcmyk(49.2%, 48.8%, 0%, 2%)
CIE-LABlab(58.84, 31.40, -61.30)
CIE-LCHlch(58.84, 68.87, 297.12°)
OKLaboklab(65.75% 0.0308 -0.1745)
OKLCHoklch(65.75% 0.177 280)
XYZxyz(33.7216, 26.8506, 93.8297)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F80FA #FAF97F
analogous
#7FBEFA #7F80FA #BC7FFA
triadic
#7F80FA #FA7F80 #80FA7F
tetradic
#7F80FA #FA7FBE #FAF97F #7FFABC
square
#7F80FA #FA7FBE #FAF97F #7FFABC
split-complementary
#7F80FA #FABC7F #BEFA7F
monochromatic
#0A0BF5 #4446F8 #7F80FA #BABAFC #E2E2FE

Accessibility & contrast

On white

3.30
#7F80FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7F80FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F80FA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F80FA#FFFFFF#000000##000000
##7F80FA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4792FE
Deuteranopia (green-blind)
#3C89F7
Tritanopia (blue-blind)
#4F9AB1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7f80fa;
/* rgb */ color: rgb(127, 128, 250);
/* oklch */ color: oklch(65.7% 0.177 280.0);
Tailwind
colors: {
  custom: {
    50: '#aba4fd',
    500: '#7f80fa',
    950: '#000000',
  },
}
SCSS
$custom: #7f80fa;
$custom-light: #aba4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f80fa",
  "rgb": {
    "r": 127,
    "g": 128,
    "b": 250
  },
  "hsl": {
    "h": 239.512,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65748,
    "c": 0.17723,
    "h": 280
  },
  "luminance": 0.26852
}

Semantic roles & 50–950 ramp

primary
#7F80FA
secondary
#F6F6D5
accent
#E400E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7F80FA

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

Preview Lab → · Contrast checker → · Palette generator →

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