#7A87CD#7A87CD

#7A87CD is a light, moderate blue. Relative luminance 0.259; OKLCH L 64.2% C 0.106 H 275.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7A87CD
RGBrgb(122, 135, 205)
HSLhsl(231, 45%, 64%)
HSVhsv(231, 40%, 80%)
CMYKcmyk(40.5%, 34.1%, 0%, 19.6%)
CIE-LABlab(57.92, 12.92, -37.69)
CIE-LCHlch(57.92, 39.84, 288.93°)
OKLaboklab(64.19% 0.0092 -0.1056)
OKLCHoklch(64.19% 0.106 275)
XYZxyz(27.7062, 25.8720, 61.2797)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A87CD #CDC07A
analogous
#7AB1CD #7A87CD #977ACD
triadic
#7A87CD #CD7A87 #87CD7A
tetradic
#7A87CD #CD7AB1 #CDC07A #7ACD97
square
#7A87CD #CD7AB1 #CDC07A #7ACD97
split-complementary
#7A87CD #CD977A #B1CD7A
monochromatic
#384695 #4E5FBC #7A87CD #A6AFDE #D3D7EE

Accessibility & contrast

On white

3.40
#7A87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#7A87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A87CD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A87CD#FFFFFF#000000##000000
##7A87CD1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD0
Deuteranopia (green-blind)
#6988CB
Tritanopia (blue-blind)
#6095A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a87cd;
/* rgb */ color: rgb(122, 135, 205);
/* oklch */ color: oklch(64.2% 0.106 275.0);
Tailwind
colors: {
  custom: {
    50: '#a3a9dc',
    500: '#7a87cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a87cd;
$custom-light: #a3a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a87cd",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 230.602,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64194,
    "c": 0.10602,
    "h": 275
  },
  "luminance": 0.25873
}

Semantic roles & 50–950 ramp

primary
#7A87CD
secondary
#E0DBC3
accent
#A32DB9
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7A87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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