#7F7DF7#7F7DF7

#7F7DF7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.0% C 0.177 H 281.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7F7DF7
RGBrgb(127, 125, 247)
HSLhsl(241, 88%, 73%)
HSVhsv(241, 49%, 97%)
CMYKcmyk(48.6%, 49.4%, 0%, 3.1%)
CIE-LABlab(57.94, 32.27, -61.08)
CIE-LCHlch(57.94, 69.08, 297.85°)
OKLaboklab(65.01% 0.0338 -0.1739)
OKLCHoklch(65.01% 0.177 281)
XYZxyz(32.8694, 25.8929, 91.2435)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7DF7 #F5F77D
analogous
#7DB8F7 #7F7DF7 #BC7DF7
triadic
#7F7DF7 #F77F7D #7DF77F
tetradic
#7F7DF7 #F77DB8 #F5F77D #7DF7BC
square
#7F7DF7 #F77DB8 #F5F77D #7DF7BC
split-complementary
#7F7DF7 #F7BC7D #B8F77D
monochromatic
#120EEB #4643F3 #7F7DF7 #B8B7FB #E3E2FD

Accessibility & contrast

On white

3.40
#7F7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#7F7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7DF7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7DF7#FFFFFF#000000##000000
##7F7DF71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4490FB
Deuteranopia (green-blind)
#3A87F4
Tritanopia (blue-blind)
#5297AE
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7f7df7;
/* rgb */ color: rgb(127, 125, 247);
/* oklch */ color: oklch(65.0% 0.177 281.0);
Tailwind
colors: {
  custom: {
    50: '#aba2fa',
    500: '#7f7df7',
    950: '#000000',
  },
}
SCSS
$custom: #7f7df7;
$custom-light: #aba2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7df7",
  "rgb": {
    "r": 127,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 240.984,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65013,
    "c": 0.1772,
    "h": 281
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#7F7DF7
secondary
#F5F5D6
accent
#E500E1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7F7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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