#7A87DD#7A87DD

#7A87DD is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.0% C 0.129 H 275.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7A87DD
RGBrgb(122, 135, 221)
HSLhsl(232, 59%, 67%)
HSVhsv(232, 45%, 87%)
CMYKcmyk(44.8%, 38.9%, 0%, 13.3%)
CIE-LABlab(58.68, 17.53, -45.46)
CIE-LCHlch(58.68, 48.73, 291.09°)
OKLaboklab(65.03% 0.0128 -0.1282)
OKLCHoklch(65.03% 0.129 275.7)
XYZxyz(29.7372, 26.6844, 71.9763)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87DD #DDD07A
analogous
#7AB9DD #7A87DD #9F7ADD
triadic
#7A87DD #DD7A87 #87DD7A
tetradic
#7A87DD #DD7AB9 #DDD07A #7ADD9F
square
#7A87DD #DD7AB9 #DDD07A #7ADD9F
split-complementary
#7A87DD #DD9F7A #B9DD7A
monochromatic
#2D3EB0 #495BD1 #7A87DD #ABB3E9 #DBDFF6

Accessibility & contrast

On white

3.31
#7A87DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7A87DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87DD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87DD#FFFFFF#000000##000000
##7A87DD1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#5899A7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a87dd;
/* rgb */ color: rgb(122, 135, 221);
/* oklch */ color: oklch(65.0% 0.129 275.7);
Tailwind
colors: {
  custom: {
    50: '#a5a9e8',
    500: '#7a87dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a87dd;
$custom-light: #a5a9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87dd",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 221
  },
  "hsl": {
    "h": 232.121,
    "s": 59.281,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65034,
    "c": 0.12888,
    "h": 275.7
  },
  "luminance": 0.26686
}

Semantic roles & 50–950 ramp

primary
#7A87DD
secondary
#E9E5CA
accent
#B11FC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7A87DD

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

Preview Lab → · Contrast checker → · Palette generator →

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