#7B87EA#7B87EA

#7B87EA is a light, vivid blue. Relative luminance 0.275; OKLCH L 65.8% C 0.147 H 276.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7B87EA
RGBrgb(123, 135, 234)
HSLhsl(234, 73%, 70%)
HSVhsv(234, 47%, 92%)
CMYKcmyk(47.4%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.41, 21.61, -51.54)
CIE-LCHlch(59.41, 55.89, 292.75°)
OKLaboklab(65.83% 0.0163 -0.146)
OKLCHoklch(65.83% 0.147 276.4)
XYZxyz(31.6790, 27.4776, 81.4604)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87EA #EADE7B
analogous
#7BBEEA #7B87EA #A77BEA
triadic
#7B87EA #EA7B87 #87EA7B
tetradic
#7B87EA #EA7BBE #EADE7B #7BEAA7
square
#7B87EA #EA7BBE #EADE7B #7BEAA7
split-complementary
#7B87EA #EAA77B #BEEA7B
monochromatic
#2033CA #4657E2 #7B87EA #B0B7F2 #E5E7FB

Accessibility & contrast

On white

3.23
#7B87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7B87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87EA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87EA#FFFFFF#000000##000000
##7B87EA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#519CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7b87ea;
/* rgb */ color: rgb(123, 135, 234);
/* oklch */ color: oklch(65.8% 0.147 276.4);
Tailwind
colors: {
  custom: {
    50: '#a7a9f1',
    500: '#7b87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b87ea;
$custom-light: #a7a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87ea",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 233.514,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.14688,
    "h": 276.4
  },
  "luminance": 0.27479
}

Semantic roles & 50–950 ramp

primary
#7B87EA
secondary
#F0EDD1
accent
#BF11D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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