#7B87F5#7B87F5

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

Color values

HEX#7B87F5
RGBrgb(123, 135, 245)
HSLhsl(234, 86%, 72%)
HSVhsv(234, 50%, 96%)
CMYKcmyk(49.8%, 44.9%, 0%, 3.9%)
CIE-LABlab(60.01, 24.90, -56.68)
CIE-LCHlch(60.01, 61.91, 293.72°)
OKLaboklab(66.47% 0.018 -0.161)
OKLCHoklch(66.47% 0.162 276.4)
XYZxyz(33.3086, 28.1295, 90.0429)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F5 #F5E97B
analogous
#7BC4F5 #7B87F5 #AC7BF5
triadic
#7B87F5 #F57B87 #87F57B
tetradic
#7B87F5 #F57BC4 #F5E97B #7BF5AC
square
#7B87F5 #F57BC4 #F5E97B #7BF5AC
split-complementary
#7B87F5 #F5AC7B #C4F57B
monochromatic
#1126E4 #4253F1 #7B87F5 #B4BBF9 #E3E5FD

Accessibility & contrast

On white

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

On black

6.63
#7B87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F5#FFFFFF#000000##000000
##7B87F51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896F9
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#499FB2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7b87f5;
/* rgb */ color: rgb(123, 135, 245);
/* oklch */ color: oklch(66.5% 0.162 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f9',
    500: '#7b87f5',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f5;
$custom-light: #a8a9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f5",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 234.098,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66471,
    "c": 0.16204,
    "h": 276.4
  },
  "luminance": 0.28131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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