#7B87F1#7B87F1

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

Color values

HEX#7B87F1
RGBrgb(123, 135, 241)
HSLhsl(234, 81%, 71%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(49%, 44%, 0%, 5.5%)
CIE-LABlab(59.79, 23.70, -54.82)
CIE-LCHlch(59.79, 59.73, 293.38°)
OKLaboklab(66.23% 0.0174 -0.1556)
OKLCHoklch(66.23% 0.157 276.4)
XYZxyz(32.7046, 27.8879, 86.8616)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F1 #F1E57B
analogous
#7BC2F1 #7B87F1 #AA7BF1
triadic
#7B87F1 #F17B87 #87F17B
tetradic
#7B87F1 #F17BC2 #F1E57B #7BF1AA
square
#7B87F1 #F17BC2 #F1E57B #7BF1AA
split-complementary
#7B87F1 #F1AA7B #C2F17B
monochromatic
#172BDA #4455EB #7B87F1 #B2B9F7 #E3E6FC

Accessibility & contrast

On white

3.19
#7B87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#7B87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F1#FFFFFF#000000##000000
##7B87F11.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F5
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#4C9EB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87f1;
/* rgb */ color: rgb(123, 135, 241);
/* oklch */ color: oklch(66.2% 0.157 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f6',
    500: '#7b87f1',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f1;
$custom-light: #a8a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f1",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 233.898,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66234,
    "c": 0.15655,
    "h": 276.4
  },
  "luminance": 0.2789
}

Semantic roles & 50–950 ramp

primary
#7B87F1
secondary
#F3F0D5
accent
#C808DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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