#7B87F8#7B87F8

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

Color values

HEX#7B87F8
RGBrgb(123, 135, 248)
HSLhsl(234, 90%, 73%)
HSVhsv(234, 50%, 97%)
CMYKcmyk(50.4%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.17, 25.81, -58.07)
CIE-LCHlch(60.17, 63.55, 293.96°)
OKLaboklab(66.65% 0.0184 -0.1651)
OKLCHoklch(66.65% 0.166 276.3)
XYZxyz(33.7703, 28.3141, 92.4744)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F8 #F8EC7B
analogous
#7BC5F8 #7B87F8 #AD7BF8
triadic
#7B87F8 #F87B87 #87F87B
tetradic
#7B87F8 #F87BC5 #F8EC7B #7BF8AD
square
#7B87F8 #F87BC5 #F8EC7B #7BF8AD
split-complementary
#7B87F8 #F8AD7B #C5F87B
monochromatic
#0D22EC #4152F5 #7B87F8 #B5BCFB #E2E5FD

Accessibility & contrast

On white

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

On black

6.66
#7B87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F8#FFFFFF#000000##000000
##7B87F81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#498CF6
Tritanopia (blue-blind)
#479FB4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b87f8;
/* rgb */ color: rgb(123, 135, 248);
/* oklch */ color: oklch(66.7% 0.166 276.3);
Tailwind
colors: {
  custom: {
    50: '#a8a9fb',
    500: '#7b87f8',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f8;
$custom-light: #a8a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f8",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 234.24,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66651,
    "c": 0.16614,
    "h": 276.3
  },
  "luminance": 0.28316
}

Semantic roles & 50–950 ramp

primary
#7B87F8
secondary
#F6F2D5
accent
#CF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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