#7A87EA#7A87EA

#7A87EA is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.8% C 0.147 H 275.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A87EA
RGBrgb(122, 135, 234)
HSLhsl(233, 73%, 70%)
HSVhsv(233, 48%, 92%)
CMYKcmyk(47.9%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.35, 21.38, -51.65)
CIE-LCHlch(59.35, 55.90, 292.49°)
OKLaboklab(65.76% 0.0152 -0.1463)
OKLCHoklch(65.76% 0.147 275.9)
XYZxyz(31.5367, 27.4042, 81.4537)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87EA #EADD7A
analogous
#7ABFEA #7A87EA #A57AEA
triadic
#7A87EA #EA7A87 #87EA7A
tetradic
#7A87EA #EA7ABF #EADD7A #7AEAA5
square
#7A87EA #EA7ABF #EADD7A #7AEAA5
split-complementary
#7A87EA #EAA57A #BFEA7A
monochromatic
#2034CA #4557E2 #7A87EA #AFB7F2 #E4E6FB

Accessibility & contrast

On white

3.24
#7A87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7A87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87EA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87EA#FFFFFF#000000##000000
##7A87EA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#4F9CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7a87ea;
/* rgb */ color: rgb(122, 135, 234);
/* oklch */ color: oklch(65.8% 0.147 275.9);
Tailwind
colors: {
  custom: {
    50: '#a6a9f1',
    500: '#7a87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a87ea;
$custom-light: #a6a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87ea",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 233.036,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.6576,
    "c": 0.1471,
    "h": 275.9
  },
  "luminance": 0.27406
}

Semantic roles & 50–950 ramp

primary
#7A87EA
secondary
#F0ECD0
accent
#BE11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7A87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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