#7A87FE#7A87FE

#7A87FE is a light, vivid blue. Relative luminance 0.286; OKLCH L 67.0% C 0.174 H 275.9°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7A87FE
RGBrgb(122, 135, 254)
HSLhsl(234, 99%, 74%)
HSVhsv(234, 52%, 100%)
CMYKcmyk(52%, 46.9%, 0%, 0.4%)
CIE-LABlab(60.44, 27.42, -60.94)
CIE-LCHlch(60.44, 66.82, 294.23°)
OKLaboklab(66.95% 0.018 -0.1736)
OKLCHoklch(66.95% 0.175 275.9)
XYZxyz(34.5737, 28.6191, 97.4489)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87FE #FEF17A
analogous
#7AC9FE #7A87FE #AF7AFE
triadic
#7A87FE #FE7A87 #87FE7A
tetradic
#7A87FE #FE7AC9 #FEF17A #7AFEAF
square
#7A87FE #FE7AC9 #FEF17A #7AFEAF
split-complementary
#7A87FE #FEAF7A #C9FE7A
monochromatic
#021AFC #3D50FE #7A87FE #B7BEFE #E1E4FF

Accessibility & contrast

On white

3.12
#7A87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7A87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87FE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87FE#FFFFFF#000000##000000
##7A87FE1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#428DFB
Tritanopia (blue-blind)
#3EA1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a87fe;
/* rgb */ color: rgb(122, 135, 254);
/* oklch */ color: oklch(67.0% 0.174 275.9);
Tailwind
colors: {
  custom: {
    50: '#a9a9ff',
    500: '#7a87fe',
    950: '#000000',
  },
}
SCSS
$custom: #7a87fe;
$custom-light: #a9a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87fe",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 234.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6695,
    "c": 0.1745,
    "h": 275.9
  },
  "luminance": 0.28621
}

Semantic roles & 50–950 ramp

primary
#7A87FE
secondary
#F7F4D4
accent
#CF00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7A87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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