#7B87FE#7B87FE

#7B87FE is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.0% C 0.174 H 276.3°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B87FE
RGBrgb(123, 135, 254)
HSLhsl(235, 98%, 74%)
HSVhsv(235, 52%, 100%)
CMYKcmyk(51.6%, 46.9%, 0%, 0.4%)
CIE-LABlab(60.51, 27.63, -60.83)
CIE-LCHlch(60.51, 66.81, 294.43°)
OKLaboklab(67.02% 0.0191 -0.1732)
OKLCHoklch(67.02% 0.174 276.3)
XYZxyz(34.7161, 28.6925, 97.4556)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87FE #FEF27B
analogous
#7BC9FE #7B87FE #B17BFE
triadic
#7B87FE #FE7B87 #87FE7B
tetradic
#7B87FE #FE7BC9 #FEF27B #7BFEB1
square
#7B87FE #FE7BC9 #FEF27B #7BFEB1
split-complementary
#7B87FE #FEB17B #C9FE7B
monochromatic
#0219FD #3E50FE #7B87FE #B8BEFE #E1E3FF

Accessibility & contrast

On white

3.12
#7B87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7B87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87FE
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87FE#FFFFFF#000000##000000
##7B87FE1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#438DFB
Tritanopia (blue-blind)
#41A1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b87fe;
/* rgb */ color: rgb(123, 135, 254);
/* oklch */ color: oklch(67.0% 0.174 276.3);
Tailwind
colors: {
  custom: {
    50: '#a9a9ff',
    500: '#7b87fe',
    950: '#000000',
  },
}
SCSS
$custom: #7b87fe;
$custom-light: #a9a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87fe",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 234.504,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67016,
    "c": 0.17427,
    "h": 276.3
  },
  "luminance": 0.28695
}

Semantic roles & 50–950 ramp

primary
#7B87FE
secondary
#F7F4D4
accent
#D000E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7B87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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