#7A87FC#7A87FC

#7A87FC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.172 H 275.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7A87FC
RGBrgb(122, 135, 252)
HSLhsl(234, 96%, 73%)
HSVhsv(234, 52%, 99%)
CMYKcmyk(51.6%, 46.4%, 0%, 1.2%)
CIE-LABlab(60.33, 26.81, -60.02)
CIE-LCHlch(60.33, 65.74, 294.07°)
OKLaboklab(66.83% 0.0178 -0.1709)
OKLCHoklch(66.83% 0.172 275.9)
XYZxyz(34.2551, 28.4916, 95.7710)
Luminance0.2849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87FC #FCEF7A
analogous
#7AC8FC #7A87FC #AE7AFC
triadic
#7A87FC #FC7A87 #87FC7A
tetradic
#7A87FC #FC7AC8 #FCEF7A #7AFCAE
square
#7A87FC #FC7AC8 #FCEF7A #7AFCAE
split-complementary
#7A87FC #FCAE7A #C8FC7A
monochromatic
#061EF6 #3E51FB #7A87FC #B6BDFD #E1E4FE

Accessibility & contrast

On white

3.13
#7A87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7A87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87FC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87FC#FFFFFF#000000##000000
##7A87FC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#40A0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7a87fc;
/* rgb */ color: rgb(122, 135, 252);
/* oklch */ color: oklch(66.8% 0.172 275.9);
Tailwind
colors: {
  custom: {
    50: '#a8a9fe',
    500: '#7a87fc',
    950: '#000000',
  },
}
SCSS
$custom: #7a87fc;
$custom-light: #a8a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87fc",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 234,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66827,
    "c": 0.17179,
    "h": 275.9
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#7A87FC
secondary
#F7F3D4
accent
#CF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7A87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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