#7F87CA#7F87CA

#7F87CA is a light, moderate blue. Relative luminance 0.261; OKLCH L 64.4% C 0.101 H 278.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7F87CA
RGBrgb(127, 135, 202)
HSLhsl(234, 41%, 65%)
HSVhsv(234, 37%, 79%)
CMYKcmyk(37.1%, 33.2%, 0%, 20.8%)
CIE-LABlab(58.13, 13.44, -35.62)
CIE-LCHlch(58.13, 38.07, 290.67°)
OKLaboklab(64.41% 0.0139 -0.0996)
OKLCHoklch(64.41% 0.101 278)
XYZxyz(28.0740, 26.1032, 59.4249)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87CA #CAC27F
analogous
#7FADCA #7F87CA #9D7FCA
triadic
#7F87CA #CA7F87 #87CA7F
tetradic
#7F87CA #CA7FAD #CAC27F #7FCA9D
square
#7F87CA #CA7FAD #CAC27F #7FCA9D
split-complementary
#7F87CA #CA9D7F #ADCA7F
monochromatic
#3C4692 #545EB8 #7F87CA #AAB0DC #D6D8EE

Accessibility & contrast

On white

3.38
#7F87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7F87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87CA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87CA#FFFFFF#000000##000000
##7F87CA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#69949F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7f87ca;
/* rgb */ color: rgb(127, 135, 202);
/* oklch */ color: oklch(64.4% 0.101 278.0);
Tailwind
colors: {
  custom: {
    50: '#a6a9da',
    500: '#7f87ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f87ca;
$custom-light: #a6a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87ca",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 233.6,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.10054,
    "h": 278
  },
  "luminance": 0.26104
}

Semantic roles & 50–950 ramp

primary
#7F87CA
secondary
#DFDDC5
accent
#A631B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #7F87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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