#7B87E8#7B87E8

#7B87E8 is a light, vivid blue. Relative luminance 0.274; OKLCH L 65.7% C 0.144 H 276.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7B87E8
RGBrgb(123, 135, 232)
HSLhsl(233, 70%, 70%)
HSVhsv(233, 47%, 91%)
CMYKcmyk(47%, 41.8%, 0%, 9%)
CIE-LABlab(59.31, 21.01, -50.59)
CIE-LCHlch(59.31, 54.78, 292.56°)
OKLaboklab(65.71% 0.0159 -0.1432)
OKLCHoklch(65.71% 0.144 276.4)
XYZxyz(31.3933, 27.3634, 79.9557)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87E8 #E8DC7B
analogous
#7BBEE8 #7B87E8 #A57BE8
triadic
#7B87E8 #E87B87 #87E87B
tetradic
#7B87E8 #E87BBE #E8DC7B #7BE8A5
square
#7B87E8 #E87BBE #E8DC7B #7BE8A5
split-complementary
#7B87E8 #E8A57B #BEE87B
monochromatic
#2335C6 #4758DF #7B87E8 #AFB6F1 #E3E6FA

Accessibility & contrast

On white

3.24
#7B87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#7B87E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87E8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87E8#FFFFFF#000000##000000
##7B87E81.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6193EC
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#539BAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b87e8;
/* rgb */ color: rgb(123, 135, 232);
/* oklch */ color: oklch(65.7% 0.144 276.4);
Tailwind
colors: {
  custom: {
    50: '#a7a9f0',
    500: '#7b87e8',
    950: '#000000',
  },
}
SCSS
$custom: #7b87e8;
$custom-light: #a7a9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87e8",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 233.394,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65714,
    "c": 0.14408,
    "h": 276.4
  },
  "luminance": 0.27365
}

Semantic roles & 50–950 ramp

primary
#7B87E8
secondary
#EFECD0
accent
#BD13D2
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7B87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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