#7B87DA#7B87DA

#7B87DA is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.9% C 0.124 H 276.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7B87DA
RGBrgb(123, 135, 218)
HSLhsl(232, 56%, 67%)
HSVhsv(232, 44%, 85%)
CMYKcmyk(43.6%, 38.1%, 0%, 14.5%)
CIE-LABlab(58.60, 16.91, -43.91)
CIE-LCHlch(58.60, 47.05, 291.06°)
OKLaboklab(64.94% 0.0133 -0.1237)
OKLCHoklch(64.94% 0.124 276.1)
XYZxyz(29.4834, 26.5994, 69.8967)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87DA #DACE7B
analogous
#7BB7DA #7B87DA #9F7BDA
triadic
#7B87DA #DA7B87 #87DA7B
tetradic
#7B87DA #DA7BB7 #DACE7B #7BDA9F
square
#7B87DA #DA7BB7 #DACE7B #7BDA9F
split-complementary
#7B87DA #DA9F7B #B7DA7B
monochromatic
#303FAB #4B5CCD #7B87DA #ABB2E7 #DBDEF5

Accessibility & contrast

On white

3.32
#7B87DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7B87DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87DA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87DA#FFFFFF#000000##000000
##7B87DA1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6991DD
Deuteranopia (green-blind)
#6289D8
Tritanopia (blue-blind)
#5B98A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b87da;
/* rgb */ color: rgb(123, 135, 218);
/* oklch */ color: oklch(64.9% 0.124 276.1);
Tailwind
colors: {
  custom: {
    50: '#a5a9e6',
    500: '#7b87da',
    950: '#000000',
  },
}
SCSS
$custom: #7b87da;
$custom-light: #a5a9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87da",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 232.421,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.12439,
    "h": 276.1
  },
  "luminance": 0.26601
}

Semantic roles & 50–950 ramp

primary
#7B87DA
secondary
#E8E4C9
accent
#AF22C4
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7B87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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