#7A7EFC#7A7EFC

#7A7EFC is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.2% C 0.183 H 278.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7A7EFC
RGBrgb(122, 126, 252)
HSLhsl(238, 96%, 73%)
HSVhsv(238, 52%, 99%)
CMYKcmyk(51.6%, 50%, 0%, 1.2%)
CIE-LABlab(58.12, 32.13, -63.57)
CIE-LCHlch(58.12, 71.23, 296.82°)
OKLaboklab(65.16% 0.0276 -0.1814)
OKLCHoklch(65.16% 0.183 278.6)
XYZxyz(33.0521, 26.0855, 95.3700)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7EFC #FCF87A
analogous
#7ABFFC #7A7EFC #B77AFC
triadic
#7A7EFC #FC7A7E #7EFC7A
tetradic
#7A7EFC #FC7ABF #FCF87A #7AFCB7
square
#7A7EFC #FC7ABF #FCF87A #7AFCB7
split-complementary
#7A7EFC #FCB77A #BFFC7A
monochromatic
#060DF6 #3E44FB #7A7EFC #B6B8FD #E1E2FE

Accessibility & contrast

On white

3.38
#7A7EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7A7EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7EFC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7EFC#FFFFFF#000000##000000
##7A7EFC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F91FF
Deuteranopia (green-blind)
#3087F9
Tritanopia (blue-blind)
#429AB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a7efc;
/* rgb */ color: rgb(122, 126, 252);
/* oklch */ color: oklch(65.2% 0.183 278.6);
Tailwind
colors: {
  custom: {
    50: '#a9a3fe',
    500: '#7a7efc',
    950: '#000000',
  },
}
SCSS
$custom: #7a7efc;
$custom-light: #a9a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7efc",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 238.154,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65156,
    "c": 0.18344,
    "h": 278.6
  },
  "luminance": 0.26088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A7EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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