#7A8FFC#7A8FFC

#7A8FFC is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.162 H 273.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#7A8FFC
RGBrgb(122, 143, 252)
HSLhsl(230, 96%, 73%)
HSVhsv(230, 52%, 99%)
CMYKcmyk(51.6%, 43.3%, 0%, 1.2%)
CIE-LABlab(62.35, 22.09, -56.80)
CIE-LCHlch(62.35, 60.95, 291.25°)
OKLaboklab(68.36% 0.009 -0.1614)
OKLCHoklch(68.36% 0.162 273.2)
XYZxyz(35.4135, 30.8084, 96.1571)
Luminance0.3081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FFC #FCE77A
analogous
#7AD0FC #7A8FFC #A67AFC
triadic
#7A8FFC #FC7A8F #8FFC7A
tetradic
#7A8FFC #FC7AD0 #FCE77A #7AFCA6
square
#7A8FFC #FC7AD0 #FCE77A #7AFCA6
split-complementary
#7A8FFC #FCA67A #D0FC7A
monochromatic
#062CF6 #3E5DFB #7A8FFC #B6C1FD #E1E6FE

Accessibility & contrast

On white

2.93
#7A8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#7A8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FFC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FFC#FFFFFF#000000##000000
##7A8FFC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5392FA
Tritanopia (blue-blind)
#3FA7B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a8ffc;
/* rgb */ color: rgb(122, 143, 252);
/* oklch */ color: oklch(68.4% 0.162 273.2);
Tailwind
colors: {
  custom: {
    50: '#a8affe',
    500: '#7a8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ffc;
$custom-light: #a8affe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ffc",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 230.308,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.16161,
    "h": 273.2
  },
  "luminance": 0.30811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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