#7A7FFC#7A7FFC

#7A7FFC is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.182 H 278.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7A7FFC
RGBrgb(122, 127, 252)
HSLhsl(238, 96%, 73%)
HSVhsv(238, 52%, 99%)
CMYKcmyk(51.6%, 49.6%, 0%, 1.2%)
CIE-LABlab(58.36, 31.54, -63.18)
CIE-LCHlch(58.36, 70.61, 296.53°)
OKLaboklab(65.34% 0.0265 -0.1802)
OKLCHoklch(65.34% 0.182 278.4)
XYZxyz(33.1806, 26.3426, 95.4128)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7FFC #FCF77A
analogous
#7AC0FC #7A7FFC #B67AFC
triadic
#7A7FFC #FC7A7F #7FFC7A
tetradic
#7A7FFC #FC7AC0 #FCF77A #7AFCB6
square
#7A7FFC #FC7AC0 #FCF77A #7AFCB6
split-complementary
#7A7FFC #FCB67A #C0FC7A
monochromatic
#060FF6 #3E45FB #7A7FFC #B6B9FD #E1E2FE

Accessibility & contrast

On white

3.35
#7A7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7A7FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7FFC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7FFC#FFFFFF#000000##000000
##7A7FFC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3287F9
Tritanopia (blue-blind)
#429BB2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7a7ffc;
/* rgb */ color: rgb(122, 127, 252);
/* oklch */ color: oklch(65.3% 0.182 278.4);
Tailwind
colors: {
  custom: {
    50: '#a9a4fe',
    500: '#7a7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #7a7ffc;
$custom-light: #a9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7ffc",
  "rgb": {
    "r": 122,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 237.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.65339,
    "c": 0.18213,
    "h": 278.4
  },
  "luminance": 0.26345
}

Semantic roles & 50–950 ramp

primary
#7A7FFC
secondary
#F7F5D4
accent
#DD00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7A7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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