#7A7EFE#7A7EFE

#7A7EFE is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.186 H 278.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7A7EFE
RGBrgb(122, 126, 254)
HSLhsl(238, 99%, 74%)
HSVhsv(238, 52%, 100%)
CMYKcmyk(52%, 50.4%, 0%, 0.4%)
CIE-LABlab(58.24, 32.74, -64.48)
CIE-LCHlch(58.24, 72.31, 296.92°)
OKLaboklab(65.29% 0.0277 -0.184)
OKLCHoklch(65.29% 0.186 278.6)
XYZxyz(33.3707, 26.2130, 97.0479)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7EFE #FEFA7A
analogous
#7AC0FE #7A7EFE #B87AFE
triadic
#7A7EFE #FE7A7E #7EFE7A
tetradic
#7A7EFE #FE7AC0 #FEFA7A #7AFEB8
square
#7A7EFE #FE7AC0 #FEFA7A #7AFEB8
split-complementary
#7A7EFE #FEB87A #C0FE7A
monochromatic
#0209FC #3D43FE #7A7EFE #B7B9FE #E1E2FF

Accessibility & contrast

On white

3.36
#7A7EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7A7EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7EFE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7EFE#FFFFFF#000000##000000
##7A7EFE1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#2C87FB
Tritanopia (blue-blind)
#409AB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a7efe;
/* rgb */ color: rgb(122, 126, 254);
/* oklch */ color: oklch(65.3% 0.186 278.6);
Tailwind
colors: {
  custom: {
    50: '#a9a3ff',
    500: '#7a7efe',
    950: '#000000',
  },
}
SCSS
$custom: #7a7efe;
$custom-light: #a9a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7efe",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 238.182,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65286,
    "c": 0.1861,
    "h": 278.6
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#7A7EFE
secondary
#F7F6D4
accent
#DF00E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7A7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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