#7A87F2#7A87F2

#7A87F2 is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.2% C 0.158 H 276.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#7A87F2
RGBrgb(122, 135, 242)
HSLhsl(234, 82%, 71%)
HSVhsv(234, 50%, 95%)
CMYKcmyk(49.6%, 44.2%, 0%, 5.1%)
CIE-LABlab(59.78, 23.78, -55.40)
CIE-LCHlch(59.78, 60.29, 293.23°)
OKLaboklab(66.23% 0.0165 -0.1573)
OKLCHoklch(66.23% 0.158 276)
XYZxyz(32.7120, 27.8744, 87.6438)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87F2 #F2E57A
analogous
#7AC3F2 #7A87F2 #A97AF2
triadic
#7A87F2 #F27A87 #87F27A
tetradic
#7A87F2 #F27AC3 #F2E57A #7AF2A9
square
#7A87F2 #F27AC3 #F2E57A #7AF2A9
split-complementary
#7A87F2 #F2A97A #C3F27A
monochromatic
#162BDC #4255ED #7A87F2 #B2B9F7 #E3E6FC

Accessibility & contrast

On white

3.19
#7A87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7A87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87F2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87F2#FFFFFF#000000##000000
##7A87F21.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4F8BF0
Tritanopia (blue-blind)
#499EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a87f2;
/* rgb */ color: rgb(122, 135, 242);
/* oklch */ color: oklch(66.2% 0.158 276.0);
Tailwind
colors: {
  custom: {
    50: '#a7a9f7',
    500: '#7a87f2',
    950: '#000000',
  },
}
SCSS
$custom: #7a87f2;
$custom-light: #a7a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87f2",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 233.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66226,
    "c": 0.15816,
    "h": 276
  },
  "luminance": 0.27876
}

Semantic roles & 50–950 ramp

primary
#7A87F2
secondary
#F3F0D4
accent
#C707DF
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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