#7A8DFC#7A8DFC

#7A8DFC is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.0% C 0.164 H 273.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7A8DFC
RGBrgb(122, 141, 252)
HSLhsl(231, 96%, 73%)
HSVhsv(231, 52%, 99%)
CMYKcmyk(51.6%, 44%, 0%, 1.2%)
CIE-LABlab(61.84, 23.27, -57.61)
CIE-LCHlch(61.84, 62.14, 291.99°)
OKLaboklab(67.97% 0.0112 -0.1637)
OKLCHoklch(67.97% 0.164 273.9)
XYZxyz(35.1160, 30.2133, 96.0579)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8DFC #FCE97A
analogous
#7ACEFC #7A8DFC #A87AFC
triadic
#7A8DFC #FC7A8D #8DFC7A
tetradic
#7A8DFC #FC7ACE #FCE97A #7AFCA8
square
#7A8DFC #FC7ACE #FCE97A #7AFCA8
split-complementary
#7A8DFC #FCA87A #CEFC7A
monochromatic
#0629F6 #3E5AFB #7A8DFC #B6C0FD #E1E5FE

Accessibility & contrast

On white

2.98
#7A8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7A8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8DFC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8DFC#FFFFFF#000000##000000
##7A8DFC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#4F90FA
Tritanopia (blue-blind)
#3FA5B8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7a8dfc;
/* rgb */ color: rgb(122, 141, 252);
/* oklch */ color: oklch(68.0% 0.164 273.9);
Tailwind
colors: {
  custom: {
    50: '#a8aefe',
    500: '#7a8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #7a8dfc;
$custom-light: #a8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8dfc",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 231.231,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67974,
    "c": 0.16413,
    "h": 273.9
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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