#7F7EF4#7F7EF4

#7F7EF4 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.172 H 280.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7F7EF4
RGBrgb(127, 126, 244)
HSLhsl(241, 84%, 73%)
HSVhsv(241, 48%, 96%)
CMYKcmyk(48%, 48.4%, 0%, 4.3%)
CIE-LABlab(58.00, 30.80, -59.32)
CIE-LCHlch(58.00, 66.83, 297.44°)
OKLaboklab(65.01% 0.0324 -0.1687)
OKLCHoklch(65.01% 0.172 280.9)
XYZxyz(32.5374, 25.9637, 88.8674)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7EF4 #F3F47E
analogous
#7EB8F4 #7F7EF4 #BA7EF4
triadic
#7F7EF4 #F47F7E #7EF47F
tetradic
#7F7EF4 #F47EB8 #F3F47E #7EF4BA
square
#7F7EF4 #F47EB8 #F3F47E #7EF4BA
split-complementary
#7F7EF4 #F4BA7E #B8F47E
monochromatic
#1513E4 #4746EF #7F7EF4 #B7B6F9 #E3E3FD

Accessibility & contrast

On white

3.39
#7F7EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7F7EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7EF4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7EF4#FFFFFF#000000##000000
##7F7EF41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F8
Deuteranopia (green-blind)
#4087F1
Tritanopia (blue-blind)
#5497AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f7ef4;
/* rgb */ color: rgb(127, 126, 244);
/* oklch */ color: oklch(65.0% 0.172 280.9);
Tailwind
colors: {
  custom: {
    50: '#aba3f8',
    500: '#7f7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #7f7ef4;
$custom-light: #aba3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7ef4",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 240.508,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.17183,
    "h": 280.9
  },
  "luminance": 0.25965
}

Semantic roles & 50–950 ramp

primary
#7F7EF4
secondary
#F4F5D6
accent
#E105DF
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7F7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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