#7A87F8#7A87F8

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

Color values

HEX#7A87F8
RGBrgb(122, 135, 248)
HSLhsl(234, 90%, 73%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(50.8%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.11, 25.60, -58.18)
CIE-LCHlch(60.11, 63.56, 293.75°)
OKLaboklab(66.58% 0.0173 -0.1655)
OKLCHoklch(66.58% 0.166 276)
XYZxyz(33.6279, 28.2407, 92.4678)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F8 #F8EB7A
analogous
#7AC6F8 #7A87F8 #AC7AF8
triadic
#7A87F8 #F87A87 #87F87A
tetradic
#7A87F8 #F87AC6 #F8EB7A #7AF8AC
square
#7A87F8 #F87AC6 #F8EB7A #7AF8AC
split-complementary
#7A87F8 #F8AC7A #C6F87A
monochromatic
#0C23EB #4053F5 #7A87F8 #B4BBFB #E2E5FD

Accessibility & contrast

On white

3.16
#7A87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7A87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F8#FFFFFF#000000##000000
##7A87F81.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#449FB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a87f8;
/* rgb */ color: rgb(122, 135, 248);
/* oklch */ color: oklch(66.6% 0.166 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8a9fb',
    500: '#7a87f8',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f8;
$custom-light: #a8a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f8",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 233.81,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.16636,
    "h": 276
  },
  "luminance": 0.28243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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