#7F7EFF#7F7EFF

#7F7EFF is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.7% C 0.187 H 280.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7F7EFF
RGBrgb(127, 126, 255)
HSLhsl(240, 100%, 75%)
HSVhsv(240, 51%, 100%)
CMYKcmyk(50.2%, 50.6%, 0%, 0%)
CIE-LABlab(58.65, 34.06, -64.35)
CIE-LCHlch(58.65, 72.80, 297.89°)
OKLaboklab(65.7% 0.0334 -0.1835)
OKLCHoklch(65.7% 0.187 280.3)
XYZxyz(34.2577, 26.6518, 97.9275)
Luminance0.2665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7EFF #FEFF7E
analogous
#7EBEFF #7F7EFF #C07EFF
triadic
#7F7EFF #FF7F7E #7EFF7F
tetradic
#7F7EFF #FF7EBE #FEFF7E #7EFFC0
square
#7F7EFF #FF7EBE #FEFF7E #7EFFC0
split-complementary
#7F7EFF #FFC07E #BEFF7E
monochromatic
#0604FF #4241FF #7F7EFF #BCBBFF #E1E0FF

Accessibility & contrast

On white

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

On black

6.33
#7F7EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7EFF
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7EFF#FFFFFF#000000##000000
##7F7EFF1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D92FF
Deuteranopia (green-blind)
#3088FC
Tritanopia (blue-blind)
#4C9AB3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7f7eff;
/* rgb */ color: rgb(127, 126, 255);
/* oklch */ color: oklch(65.7% 0.187 280.3);
Tailwind
colors: {
  custom: {
    50: '#aca3ff',
    500: '#7f7eff',
    950: '#000000',
  },
}
SCSS
$custom: #7f7eff;
$custom-light: #aca3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7eff",
  "rgb": {
    "r": 127,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 240.465,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.65704,
    "c": 0.18653,
    "h": 280.3
  },
  "luminance": 0.26654
}

Semantic roles & 50–950 ramp

primary
#7F7EFF
secondary
#F7F7D4
accent
#E600E4
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7F7EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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