#7A7CFC#7A7CFC

#7A7CFC is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.8% C 0.186 H 279.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7A7CFC
RGBrgb(122, 124, 252)
HSLhsl(239, 96%, 73%)
HSVhsv(239, 52%, 99%)
CMYKcmyk(51.6%, 50.8%, 0%, 1.2%)
CIE-LABlab(57.64, 33.31, -64.34)
CIE-LCHlch(57.64, 72.46, 297.37°)
OKLaboklab(64.79% 0.0297 -0.1836)
OKLCHoklch(64.79% 0.186 279.2)
XYZxyz(32.7989, 25.5792, 95.2856)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7CFC #FCFA7A
analogous
#7ABDFC #7A7CFC #B97AFC
triadic
#7A7CFC #FC7A7C #7CFC7A
tetradic
#7A7CFC #FC7ABD #FCFA7A #7AFCB9
square
#7A7CFC #FC7ABD #FCFA7A #7AFCB9
split-complementary
#7A7CFC #FCB97A #BDFC7A
monochromatic
#0609F6 #3E41FB #7A7CFC #B6B7FD #E1E2FE

Accessibility & contrast

On white

3.43
#7A7CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7A7CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7CFC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7CFC#FFFFFF#000000##000000
##7A7CFC1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A90FF
Deuteranopia (green-blind)
#2A85F9
Tritanopia (blue-blind)
#4298B0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7a7cfc;
/* rgb */ color: rgb(122, 124, 252);
/* oklch */ color: oklch(64.8% 0.186 279.2);
Tailwind
colors: {
  custom: {
    50: '#a9a2fe',
    500: '#7a7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #7a7cfc;
$custom-light: #a9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7cfc",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 239.077,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.18603,
    "h": 279.2
  },
  "luminance": 0.25581
}

Semantic roles & 50–950 ramp

primary
#7A7CFC
secondary
#F7F6D4
accent
#E200E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7A7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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