#7B87F9#7B87F9

#7B87F9 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.7% C 0.167 H 276.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7B87F9
RGBrgb(123, 135, 249)
HSLhsl(234, 91%, 73%)
HSVhsv(234, 51%, 98%)
CMYKcmyk(50.6%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.23, 26.11, -58.53)
CIE-LCHlch(60.23, 64.09, 294.04°)
OKLaboklab(66.71% 0.0185 -0.1665)
OKLCHoklch(66.71% 0.167 276.3)
XYZxyz(33.9259, 28.3764, 93.2937)
Luminance0.2838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F9 #F9ED7B
analogous
#7BC6F9 #7B87F9 #AE7BF9
triadic
#7B87F9 #F97B87 #87F97B
tetradic
#7B87F9 #F97BC6 #F9ED7B #7BF9AE
square
#7B87F9 #F97BC6 #F9ED7B #7BF9AE
split-complementary
#7B87F9 #F9AE7B #C6F97B
monochromatic
#0B21EF #4052F6 #7B87F9 #B6BCFC #E2E4FE

Accessibility & contrast

On white

3.15
#7B87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7B87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F9
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F9#FFFFFF#000000##000000
##7B87F91.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FD
Deuteranopia (green-blind)
#488CF7
Tritanopia (blue-blind)
#46A0B4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b87f9;
/* rgb */ color: rgb(123, 135, 249);
/* oklch */ color: oklch(66.7% 0.167 276.3);
Tailwind
colors: {
  custom: {
    50: '#a9a9fc',
    500: '#7b87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f9;
$custom-light: #a9a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f9",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 234.286,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66711,
    "c": 0.16749,
    "h": 276.3
  },
  "luminance": 0.28378
}

Semantic roles & 50–950 ramp

primary
#7B87F9
secondary
#F6F3D5
accent
#D000E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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