#7A8CFC#7A8CFC

#7A8CFC is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.165 H 274.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7A8CFC
RGBrgb(122, 140, 252)
HSLhsl(232, 96%, 73%)
HSVhsv(232, 52%, 99%)
CMYKcmyk(51.6%, 44.4%, 0%, 1.2%)
CIE-LABlab(61.58, 23.86, -58.02)
CIE-LCHlch(61.58, 62.73, 292.35°)
OKLaboklab(67.78% 0.0123 -0.1649)
OKLCHoklch(67.78% 0.165 274.3)
XYZxyz(34.9692, 29.9197, 96.0090)
Luminance0.2992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8CFC #FCEA7A
analogous
#7ACDFC #7A8CFC #A97AFC
triadic
#7A8CFC #FC7A8C #8CFC7A
tetradic
#7A8CFC #FC7ACD #FCEA7A #7AFCA9
square
#7A8CFC #FC7ACD #FCEA7A #7AFCA9
split-complementary
#7A8CFC #FCA97A #CDFC7A
monochromatic
#0627F6 #3E58FB #7A8CFC #B6C0FD #E1E5FE

Accessibility & contrast

On white

3.01
#7A8CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7A8CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8CFC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8CFC#FFFFFF#000000##000000
##7A8CFC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#3FA4B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8cfc;
/* rgb */ color: rgb(122, 140, 252);
/* oklch */ color: oklch(67.8% 0.165 274.3);
Tailwind
colors: {
  custom: {
    50: '#a8adfe',
    500: '#7a8cfc',
    950: '#000000',
  },
}
SCSS
$custom: #7a8cfc;
$custom-light: #a8adfe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8cfc",
  "rgb": {
    "r": 122,
    "g": 140,
    "b": 252
  },
  "hsl": {
    "h": 231.692,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67781,
    "c": 0.1654,
    "h": 274.3
  },
  "luminance": 0.29922
}

Semantic roles & 50–950 ramp

primary
#7A8CFC
secondary
#F7F2D4
accent
#C600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7A8CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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