#7F87F0#7F87F0

#7F87F0 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.154 H 278.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7F87F0
RGBrgb(127, 135, 240)
HSLhsl(236, 79%, 72%)
HSVhsv(236, 47%, 94%)
CMYKcmyk(47.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(60.01, 24.31, -53.90)
CIE-LCHlch(60.01, 59.13, 294.27°)
OKLaboklab(66.45% 0.0216 -0.1528)
OKLCHoklch(66.45% 0.154 278)
XYZxyz(33.1397, 28.1295, 86.1045)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F0 #F0E87F
analogous
#7FC0F0 #7F87F0 #B07FF0
triadic
#7F87F0 #F07F87 #87F07F
tetradic
#7F87F0 #F07FC0 #F0E87F #7FF0B0
square
#7F87F0 #F07FC0 #F0E87F #7FF0B0
split-complementary
#7F87F0 #F0B07F #C0F07F
monochromatic
#1A27DB #4854EA #7F87F0 #B6BAF6 #E4E5FC

Accessibility & contrast

On white

3.17
#7F87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7F87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F0
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F0#FFFFFF#000000##000000
##7F87F01.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F4
Deuteranopia (green-blind)
#548CEE
Tritanopia (blue-blind)
#569DB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f87f0;
/* rgb */ color: rgb(127, 135, 240);
/* oklch */ color: oklch(66.5% 0.154 278.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9f5',
    500: '#7f87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f0;
$custom-light: #aaa9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f0",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 235.752,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.15432,
    "h": 278
  },
  "luminance": 0.28131
}

Semantic roles & 50–950 ramp

primary
#7F87F0
secondary
#F4F2D7
accent
#CD0ADB
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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