#7F7DF9#7F7DF9

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

Color values

HEX#7F7DF9
RGBrgb(127, 125, 249)
HSLhsl(241, 91%, 73%)
HSVhsv(241, 50%, 98%)
CMYKcmyk(49%, 49.8%, 0%, 2.4%)
CIE-LABlab(58.05, 32.86, -62.00)
CIE-LCHlch(58.05, 70.17, 297.93°)
OKLaboklab(65.14% 0.034 -0.1766)
OKLCHoklch(65.14% 0.18 280.9)
XYZxyz(33.1797, 26.0170, 92.8776)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DF9 #F7F97D
analogous
#7DB9F9 #7F7DF9 #BD7DF9
triadic
#7F7DF9 #F97F7D #7DF97F
tetradic
#7F7DF9 #F97DB9 #F7F97D #7DF9BD
square
#7F7DF9 #F97DB9 #F7F97D #7DF9BD
split-complementary
#7F7DF9 #F9BD7D #B9F97D
monochromatic
#0F0BF0 #4542F6 #7F7DF9 #B9B7FC #E2E2FE

Accessibility & contrast

On white

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

On black

6.20
#7F7DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DF9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DF9#FFFFFF#000000##000000
##7F7DF91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#3787F6
Tritanopia (blue-blind)
#5198AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f7df9;
/* rgb */ color: rgb(127, 125, 249);
/* oklch */ color: oklch(65.1% 0.180 280.9);
Tailwind
colors: {
  custom: {
    50: '#aba2fc',
    500: '#7f7df9',
    950: '#000000',
  },
}
SCSS
$custom: #7f7df9;
$custom-light: #aba2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7df9",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 240.968,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.17987,
    "h": 280.9
  },
  "luminance": 0.26019
}

Semantic roles & 50–950 ramp

primary
#7F7DF9
secondary
#F5F6D5
accent
#E600E2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7F7DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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