#7A87F7#7A87F7

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

Color values

HEX#7A87F7
RGBrgb(122, 135, 247)
HSLhsl(234, 89%, 72%)
HSVhsv(234, 51%, 97%)
CMYKcmyk(50.6%, 45.3%, 0%, 3.1%)
CIE-LABlab(60.05, 25.29, -57.72)
CIE-LCHlch(60.05, 63.02, 293.66°)
OKLaboklab(66.52% 0.0172 -0.1641)
OKLCHoklch(66.52% 0.165 276)
XYZxyz(33.4732, 28.1789, 91.6529)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F7 #F7EA7A
analogous
#7AC6F7 #7A87F7 #AC7AF7
triadic
#7A87F7 #F77A87 #87F77A
tetradic
#7A87F7 #F77AC6 #F7EA7A #7AF7AC
square
#7A87F7 #F77AC6 #F7EA7A #7AF7AC
split-complementary
#7A87F7 #F7AC7A #C6F77A
monochromatic
#0E25E9 #4053F4 #7A87F7 #B4BBFA #E2E5FD

Accessibility & contrast

On white

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

On black

6.64
#7A87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F7#FFFFFF#000000##000000
##7A87F71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#459FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a87f7;
/* rgb */ color: rgb(122, 135, 247);
/* oklch */ color: oklch(66.5% 0.165 276.0);
Tailwind
colors: {
  custom: {
    50: '#a8a9fa',
    500: '#7a87f7',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f7;
$custom-light: #a8a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f7",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 233.76,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66524,
    "c": 0.16499,
    "h": 276
  },
  "luminance": 0.28181
}

Semantic roles & 50–950 ramp

primary
#7A87F7
secondary
#F5F2D6
accent
#CD00E5
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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