#7B87F4#7B87F4

#7B87F4 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.161 H 276.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7B87F4
RGBrgb(123, 135, 244)
HSLhsl(234, 85%, 72%)
HSVhsv(234, 50%, 96%)
CMYKcmyk(49.6%, 44.7%, 0%, 4.3%)
CIE-LABlab(59.95, 24.60, -56.22)
CIE-LCHlch(59.95, 61.37, 293.64°)
OKLaboklab(66.41% 0.0178 -0.1597)
OKLCHoklch(66.41% 0.161 276.4)
XYZxyz(33.1564, 28.0686, 89.2411)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F4 #F4E87B
analogous
#7BC3F4 #7B87F4 #AC7BF4
triadic
#7B87F4 #F47B87 #87F47B
tetradic
#7B87F4 #F47BC3 #F4E87B #7BF4AC
square
#7B87F4 #F47BC3 #F4E87B #7BF4AC
split-complementary
#7B87F4 #F4AC7B #C3F47B
monochromatic
#1327E2 #4354EF #7B87F4 #B3BAF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.61
#7B87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F4#FFFFFF#000000##000000
##7B87F41.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5996F8
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#4A9EB2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87f4;
/* rgb */ color: rgb(123, 135, 244);
/* oklch */ color: oklch(66.4% 0.161 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f8',
    500: '#7b87f4',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f4;
$custom-light: #a8a9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f4",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 234.05,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66412,
    "c": 0.16067,
    "h": 276.4
  },
  "luminance": 0.28071
}

Semantic roles & 50–950 ramp

primary
#7B87F4
secondary
#F5F2D6
accent
#CB04E1
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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