#7A87F0#7A87F0

#7A87F0 is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.1% C 0.155 H 276.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7A87F0
RGBrgb(122, 135, 240)
HSLhsl(233, 80%, 71%)
HSVhsv(233, 49%, 94%)
CMYKcmyk(49.2%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.67, 23.18, -54.46)
CIE-LCHlch(59.67, 59.19, 293.05°)
OKLaboklab(66.11% 0.0162 -0.1546)
OKLCHoklch(66.11% 0.155 276)
XYZxyz(32.4133, 27.7549, 86.0704)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F0 #F0E37A
analogous
#7AC2F0 #7A87F0 #A87AF0
triadic
#7A87F0 #F07A87 #87F07A
tetradic
#7A87F0 #F07AC2 #F0E37A #7AF0A8
square
#7A87F0 #F07AC2 #F0E37A #7AF0A8
split-complementary
#7A87F0 #F0A87A #C2F07A
monochromatic
#182DD7 #4355EA #7A87F0 #B1B9F6 #E4E6FC

Accessibility & contrast

On white

3.21
#7A87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#7A87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F0
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F0#FFFFFF#000000##000000
##7A87F01.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#518BEE
Tritanopia (blue-blind)
#4B9DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a87f0;
/* rgb */ color: rgb(122, 135, 240);
/* oklch */ color: oklch(66.1% 0.155 276.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9f5',
    500: '#7a87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f0;
$custom-light: #a7a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f0",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 233.39,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66108,
    "c": 0.1554,
    "h": 276
  },
  "luminance": 0.27757
}

Semantic roles & 50–950 ramp

primary
#7A87F0
secondary
#F3EFD3
accent
#C509DC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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