#7A8FFF#7A8FFF

#7A8FFF is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.5% C 0.166 H 273.3°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7A8FFF
RGBrgb(122, 143, 255)
HSLhsl(231, 100%, 74%)
HSVhsv(231, 52%, 100%)
CMYKcmyk(52.2%, 43.9%, 0%, 0%)
CIE-LABlab(62.51, 23.01, -58.19)
CIE-LCHlch(62.51, 62.57, 291.57°)
OKLaboklab(68.54% 0.0095 -0.1654)
OKLCHoklch(68.54% 0.166 273.3)
XYZxyz(35.8927, 31.0001, 98.6806)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8FFF #FFEA7A
analogous
#7AD2FF #7A8FFF #A87AFF
triadic
#7A8FFF #FF7A8F #8FFF7A
tetradic
#7A8FFF #FF7AD2 #FFEA7A #7AFFA8
square
#7A8FFF #FF7AD2 #FFEA7A #7AFFA8
split-complementary
#7A8FFF #FFA87A #D2FF7A
monochromatic
#0028FF #3D5BFF #7A8FFF #B7C3FF #E0E5FF

Accessibility & contrast

On white

2.92
#7A8FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7A8FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A8FFF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8FFF#FFFFFF#000000##000000
##7A8FFF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#5092FD
Tritanopia (blue-blind)
#3CA7BB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7a8fff;
/* rgb */ color: rgb(122, 143, 255);
/* oklch */ color: oklch(68.5% 0.166 273.3);
Tailwind
colors: {
  custom: {
    50: '#a8afff',
    500: '#7a8fff',
    950: '#000000',
  },
}
SCSS
$custom: #7a8fff;
$custom-light: #a8afff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8fff",
  "rgb": {
    "r": 122,
    "g": 143,
    "b": 255
  },
  "hsl": {
    "h": 230.526,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68537,
    "c": 0.16569,
    "h": 273.3
  },
  "luminance": 0.31002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A8FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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