#7B87F0#7B87F0

#7B87F0 is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.2% C 0.155 H 276.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7B87F0
RGBrgb(123, 135, 240)
HSLhsl(234, 80%, 71%)
HSVhsv(234, 49%, 94%)
CMYKcmyk(48.7%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.73, 23.40, -54.35)
CIE-LCHlch(59.73, 59.18, 293.29°)
OKLaboklab(66.18% 0.0172 -0.1542)
OKLCHoklch(66.18% 0.155 276.4)
XYZxyz(32.5556, 27.8283, 86.0771)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F0 #F0E47B
analogous
#7BC1F0 #7B87F0 #A97BF0
triadic
#7B87F0 #F07B87 #87F07B
tetradic
#7B87F0 #F07BC1 #F0E47B #7BF0A9
square
#7B87F0 #F07BC1 #F0E47B #7BF0A9
split-complementary
#7B87F0 #F0A97B #C1F07B
monochromatic
#192CD8 #4455EA #7B87F0 #B2B9F6 #E4E6FC

Accessibility & contrast

On white

3.20
#7B87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7B87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F0#FFFFFF#000000##000000
##7B87F01.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#518BEE
Tritanopia (blue-blind)
#4D9DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87f0;
/* rgb */ color: rgb(123, 135, 240);
/* oklch */ color: oklch(66.2% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f5',
    500: '#7b87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f0;
$custom-light: #a8a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f0",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 233.846,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66176,
    "c": 0.15518,
    "h": 276.4
  },
  "luminance": 0.2783
}

Semantic roles & 50–950 ramp

primary
#7B87F0
secondary
#F3F0D4
accent
#C60ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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