#7A8EFC#7A8EFC

#7A8EFC is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.2% C 0.163 H 273.6°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7A8EFC
RGBrgb(122, 142, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(51.6%, 43.7%, 0%, 1.2%)
CIE-LABlab(62.09, 22.68, -57.21)
CIE-LCHlch(62.09, 61.54, 291.63°)
OKLaboklab(68.17% 0.0101 -0.1626)
OKLCHoklch(68.17% 0.163 273.6)
XYZxyz(35.2641, 30.5095, 96.1073)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8EFC #FCE87A
analogous
#7ACFFC #7A8EFC #A77AFC
triadic
#7A8EFC #FC7A8E #8EFC7A
tetradic
#7A8EFC #FC7ACF #FCE87A #7AFCA7
square
#7A8EFC #FC7ACF #FCE87A #7AFCA7
split-complementary
#7A8EFC #FCA77A #CFFC7A
monochromatic
#062BF6 #3E5BFB #7A8EFC #B6C1FD #E1E6FE

Accessibility & contrast

On white

2.96
#7A8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7A8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8EFC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8EFC#FFFFFF#000000##000000
##7A8EFC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#5191FA
Tritanopia (blue-blind)
#3FA6B9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7a8efc;
/* rgb */ color: rgb(122, 142, 252);
/* oklch */ color: oklch(68.2% 0.163 273.6);
Tailwind
colors: {
  custom: {
    50: '#a8aefe',
    500: '#7a8efc',
    950: '#000000',
  },
}
SCSS
$custom: #7a8efc;
$custom-light: #a8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8efc",
  "rgb": {
    "r": 122,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 230.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68167,
    "c": 0.16287,
    "h": 273.6
  },
  "luminance": 0.30512
}

Semantic roles & 50–950 ramp

primary
#7A8EFC
secondary
#F7F1D4
accent
#C200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7A8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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