#7B87F3#7B87F3

#7B87F3 is a light, vivid blue. Relative luminance 0.280; OKLCH L 66.4% C 0.159 H 276.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7B87F3
RGBrgb(123, 135, 243)
HSLhsl(234, 83%, 72%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(49.4%, 44.4%, 0%, 4.7%)
CIE-LABlab(59.90, 24.30, -55.75)
CIE-LCHlch(59.90, 60.82, 293.55°)
OKLaboklab(66.35% 0.0177 -0.1583)
OKLCHoklch(66.35% 0.159 276.4)
XYZxyz(33.0049, 28.0080, 88.4436)
Luminance0.2801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F3 #F3E77B
analogous
#7BC3F3 #7B87F3 #AB7BF3
triadic
#7B87F3 #F37B87 #87F37B
tetradic
#7B87F3 #F37BC3 #F3E77B #7BF3AB
square
#7B87F3 #F37BC3 #F3E77B #7BF3AB
split-complementary
#7B87F3 #F3AB7B #C3F37B
monochromatic
#1429DF #4354EE #7B87F3 #B3BAF8 #E3E6FC

Accessibility & contrast

On white

3.18
#7B87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7B87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F3#FFFFFF#000000##000000
##7B87F31.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F7
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#4B9EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87f3;
/* rgb */ color: rgb(123, 135, 243);
/* oklch */ color: oklch(66.4% 0.159 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f7',
    500: '#7b87f3',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f3;
$custom-light: #a8a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f3",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 234,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66352,
    "c": 0.1593,
    "h": 276.4
  },
  "luminance": 0.2801
}

Semantic roles & 50–950 ramp

primary
#7B87F3
secondary
#F4F1D6
accent
#CA06E0
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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