#7B87F2#7B87F2

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

Color values

HEX#7B87F2
RGBrgb(123, 135, 242)
HSLhsl(234, 82%, 72%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(49.2%, 44.2%, 0%, 5.1%)
CIE-LABlab(59.84, 24.00, -55.29)
CIE-LCHlch(59.84, 60.27, 293.47°)
OKLaboklab(66.29% 0.0175 -0.1569)
OKLCHoklch(66.29% 0.158 276.4)
XYZxyz(32.8544, 27.9478, 87.6504)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87F2 #F2E67B
analogous
#7BC2F2 #7B87F2 #AB7BF2
triadic
#7B87F2 #F27B87 #87F27B
tetradic
#7B87F2 #F27BC2 #F2E67B #7BF2AB
square
#7B87F2 #F27BC2 #F2E67B #7BF2AB
split-complementary
#7B87F2 #F2AB7B #C2F27B
monochromatic
#162ADD #4354ED #7B87F2 #B3BAF7 #E3E6FC

Accessibility & contrast

On white

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

On black

6.59
#7B87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87F2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87F2#FFFFFF#000000##000000
##7B87F21.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#4F8CF0
Tritanopia (blue-blind)
#4C9EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7b87f2;
/* rgb */ color: rgb(123, 135, 242);
/* oklch */ color: oklch(66.3% 0.158 276.4);
Tailwind
colors: {
  custom: {
    50: '#a8a9f7',
    500: '#7b87f2',
    950: '#000000',
  },
}
SCSS
$custom: #7b87f2;
$custom-light: #a8a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87f2",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 233.95,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.15793,
    "h": 276.4
  },
  "luminance": 0.2795
}

Semantic roles & 50–950 ramp

primary
#7B87F2
secondary
#F4F1D5
accent
#C907DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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