#7B87FB#7B87FB

#7B87FB is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.170 H 276.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7B87FB
RGBrgb(123, 135, 251)
HSLhsl(234, 94%, 73%)
HSVhsv(234, 51%, 98%)
CMYKcmyk(51%, 46.2%, 0%, 1.6%)
CIE-LABlab(60.34, 26.72, -59.45)
CIE-LCHlch(60.34, 65.18, 294.20°)
OKLaboklab(66.83% 0.0187 -0.1692)
OKLCHoklch(66.83% 0.17 276.3)
XYZxyz(34.2394, 28.5018, 94.9453)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87FB #FBEF7B
analogous
#7BC7FB #7B87FB #AF7BFB
triadic
#7B87FB #FB7B87 #87FB7B
tetradic
#7B87FB #FB7BC7 #FBEF7B #7BFBAF
square
#7B87FB #FB7BC7 #FBEF7B #7BFBAF
split-complementary
#7B87FB #FBAF7B #C7FB7B
monochromatic
#071EF4 #4051F9 #7B87FB #B6BDFD #E1E4FE

Accessibility & contrast

On white

3.13
#7B87FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7B87FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87FB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87FB#FFFFFF#000000##000000
##7B87FB1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#44A0B5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b87fb;
/* rgb */ color: rgb(123, 135, 251);
/* oklch */ color: oklch(66.8% 0.170 276.3);
Tailwind
colors: {
  custom: {
    50: '#a9a9fd',
    500: '#7b87fb',
    950: '#000000',
  },
}
SCSS
$custom: #7b87fb;
$custom-light: #a9a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87fb",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 234.375,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.17021,
    "h": 276.3
  },
  "luminance": 0.28504
}

Semantic roles & 50–950 ramp

primary
#7B87FB
secondary
#F6F3D5
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7B87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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