#7A87F9#7A87F9

#7A87F9 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.168 H 276.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7A87F9
RGBrgb(122, 135, 249)
HSLhsl(234, 91%, 73%)
HSVhsv(234, 51%, 98%)
CMYKcmyk(51%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.16, 25.90, -58.64)
CIE-LCHlch(60.16, 64.11, 293.83°)
OKLaboklab(66.64% 0.0174 -0.1668)
OKLCHoklch(66.64% 0.168 276)
XYZxyz(33.7835, 28.3030, 93.2870)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F9 #F9EC7A
analogous
#7AC7F9 #7A87F9 #AC7AF9
triadic
#7A87F9 #F97A87 #87F97A
tetradic
#7A87F9 #F97AC7 #F9EC7A #7AF9AC
square
#7A87F9 #F97AC7 #F9EC7A #7AF9AC
split-complementary
#7A87F9 #F9AC7A #C7F97A
monochromatic
#0B22EE #3F52F6 #7A87F9 #B5BCFC #E2E5FE

Accessibility & contrast

On white

3.15
#7A87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7A87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F9#FFFFFF#000000##000000
##7A87F91.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#43A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a87f9;
/* rgb */ color: rgb(122, 135, 249);
/* oklch */ color: oklch(66.6% 0.168 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8a9fc',
    500: '#7a87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f9;
$custom-light: #a8a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f9",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 233.858,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66644,
    "c": 0.16772,
    "h": 276
  },
  "luminance": 0.28305
}

Semantic roles & 50–950 ramp

primary
#7A87F9
secondary
#F6F2D5
accent
#CE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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