#7F7FFA#7F7FFA

#7F7FFA is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.6% C 0.179 H 280.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7F7FFA
RGBrgb(127, 127, 250)
HSLhsl(240, 92%, 74%)
HSVhsv(240, 49%, 98%)
CMYKcmyk(49.2%, 49.2%, 0%, 2%)
CIE-LABlab(58.59, 31.98, -61.68)
CIE-LCHlch(58.59, 69.48, 297.41°)
OKLaboklab(65.57% 0.0319 -0.1757)
OKLCHoklch(65.57% 0.179 280.3)
XYZxyz(33.5918, 26.5910, 93.7865)
Luminance0.2659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7FFA #FAFA7F
analogous
#7FBDFA #7F7FFA #BD7FFA
triadic
#7F7FFA #FA7F7F #7FFA7F
tetradic
#7F7FFA #FA7FBD #FAFA7F #7FFABD
square
#7F7FFA #FA7FBD #FAFA7F #7FFABD
split-complementary
#7F7FFA #FABD7F #BDFA7F
monochromatic
#0A0AF5 #4444F8 #7F7FFA #BABAFC #E2E2FE

Accessibility & contrast

On white

3.32
#7F7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7F7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7FFA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7FFA#FFFFFF#000000##000000
##7F7FFA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FE
Deuteranopia (green-blind)
#3A88F7
Tritanopia (blue-blind)
#509AB1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f7ffa;
/* rgb */ color: rgb(127, 127, 250);
/* oklch */ color: oklch(65.6% 0.179 280.3);
Tailwind
colors: {
  custom: {
    50: '#aba4fd',
    500: '#7f7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ffa;
$custom-light: #aba4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ffa",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.65566,
    "c": 0.17856,
    "h": 280.3
  },
  "luminance": 0.26593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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