#7A8FFB#7A8FFB

#7A8FFB is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.3% C 0.160 H 273.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7A8FFB
RGBrgb(122, 143, 251)
HSLhsl(230, 94%, 73%)
HSVhsv(230, 51%, 98%)
CMYKcmyk(51.4%, 43%, 0%, 1.6%)
CIE-LABlab(62.29, 21.79, -56.34)
CIE-LCHlch(62.29, 60.41, 291.14°)
OKLaboklab(68.3% 0.0089 -0.16)
OKLCHoklch(68.3% 0.16 273.2)
XYZxyz(35.2555, 30.7452, 95.3247)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FFB #FBE67A
analogous
#7ACFFB #7A8FFB #A67AFB
triadic
#7A8FFB #FB7A8F #8FFB7A
tetradic
#7A8FFB #FB7ACF #FBE67A #7AFBA6
square
#7A8FFB #FB7ACF #FBE67A #7AFBA6
split-complementary
#7A8FFB #FBA67A #CFFB7A
monochromatic
#072EF3 #3F5DF9 #7A8FFB #B5C1FD #E1E6FE

Accessibility & contrast

On white

2.94
#7A8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#7A8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FFB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FFB#FFFFFF#000000##000000
##7A8FFB1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFF
Deuteranopia (green-blind)
#5491F9
Tritanopia (blue-blind)
#40A6B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a8ffb;
/* rgb */ color: rgb(122, 143, 251);
/* oklch */ color: oklch(68.3% 0.160 273.2);
Tailwind
colors: {
  custom: {
    50: '#a8affd',
    500: '#7a8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #7a8ffb;
$custom-light: #a8affd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8ffb",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 230.233,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68303,
    "c": 0.16024,
    "h": 273.2
  },
  "luminance": 0.30748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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