#7B87F7#7B87F7

#7B87F7 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.165 H 276.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7B87F7
RGBrgb(123, 135, 247)
HSLhsl(234, 89%, 73%)
HSVhsv(234, 50%, 97%)
CMYKcmyk(50.2%, 45.3%, 0%, 3.1%)
CIE-LABlab(60.12, 25.51, -57.61)
CIE-LCHlch(60.12, 63.00, 293.88°)
OKLaboklab(66.59% 0.0182 -0.1638)
OKLCHoklch(66.59% 0.165 276.4)
XYZxyz(33.6156, 28.2523, 91.6596)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F7 #F7EB7B
analogous
#7BC5F7 #7B87F7 #AD7BF7
triadic
#7B87F7 #F77B87 #87F77B
tetradic
#7B87F7 #F77BC5 #F7EB7B #7BF7AD
square
#7B87F7 #F77BC5 #F7EB7B #7BF7AD
split-complementary
#7B87F7 #F7AD7B #C5F77B
monochromatic
#0E23E9 #4153F4 #7B87F7 #B5BBFA #E2E5FD

Accessibility & contrast

On white

3.16
#7B87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7B87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F7#FFFFFF#000000##000000
##7B87F71.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#479FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b87f7;
/* rgb */ color: rgb(123, 135, 247);
/* oklch */ color: oklch(66.6% 0.165 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9fa',
    500: '#7b87f7',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f7;
$custom-light: #a8a9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f7",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 234.194,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.16477,
    "h": 276.4
  },
  "luminance": 0.28254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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