#7B87FC#7B87FC

#7B87FC is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.9% C 0.172 H 276.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7B87FC
RGBrgb(123, 135, 252)
HSLhsl(234, 96%, 74%)
HSVhsv(234, 51%, 99%)
CMYKcmyk(51.2%, 46.4%, 0%, 1.2%)
CIE-LABlab(60.40, 27.02, -59.91)
CIE-LCHlch(60.40, 65.73, 294.28°)
OKLaboklab(66.89% 0.0189 -0.1705)
OKLCHoklch(66.89% 0.172 276.3)
XYZxyz(34.3975, 28.5650, 95.7776)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87FC #FCF07B
analogous
#7BC7FC #7B87FC #AF7BFC
triadic
#7B87FC #FC7B87 #87FC7B
tetradic
#7B87FC #FC7BC7 #FCF07B #7BFCAF
square
#7B87FC #FC7BC7 #FCF07B #7BFCAF
split-complementary
#7B87FC #FCAF7B #C7FC7B
monochromatic
#061CF7 #3F51FB #7B87FC #B7BDFD #E1E4FE

Accessibility & contrast

On white

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

On black

6.71
#7B87FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87FC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87FC#FFFFFF#000000##000000
##7B87FC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#458DF9
Tritanopia (blue-blind)
#43A0B5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b87fc;
/* rgb */ color: rgb(123, 135, 252);
/* oklch */ color: oklch(66.9% 0.172 276.3);
Tailwind
colors: {
  custom: {
    50: '#a9a9fe',
    500: '#7b87fc',
    950: '#000000',
  },
}
SCSS
$custom: #7b87fc;
$custom-light: #a9a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87fc",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 234.419,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66894,
    "c": 0.17156,
    "h": 276.3
  },
  "luminance": 0.28567
}

Semantic roles & 50–950 ramp

primary
#7B87FC
secondary
#F7F3D4
accent
#D000E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #7B87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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