#7C87F2#7C87F2

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

Color values

HEX#7C87F2
RGBrgb(124, 135, 242)
HSLhsl(234, 82%, 72%)
HSVhsv(234, 49%, 95%)
CMYKcmyk(48.8%, 44.2%, 0%, 5.1%)
CIE-LABlab(59.91, 24.22, -55.18)
CIE-LCHlch(59.91, 60.26, 293.70°)
OKLaboklab(66.36% 0.0186 -0.1566)
OKLCHoklch(66.36% 0.158 276.8)
XYZxyz(32.9982, 28.0219, 87.6572)
Luminance0.2802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87F2 #F2E77C
analogous
#7CC2F2 #7C87F2 #AC7CF2
triadic
#7C87F2 #F27C87 #87F27C
tetradic
#7C87F2 #F27CC2 #F2E77C #7CF2AC
square
#7C87F2 #F27CC2 #F2E77C #7CF2AC
split-complementary
#7C87F2 #F2AC7C #C2F27C
monochromatic
#1629DE #4454EC #7C87F2 #B4BAF8 #E3E5FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C87F2#FFFFFF#000000##000000
##7C87F21.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)
#5B95F6
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#4E9EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7c87f2;
/* rgb */ color: rgb(124, 135, 242);
/* oklch */ color: oklch(66.4% 0.158 276.8);
Tailwind
colors: {
  custom: {
    50: '#a8a9f7',
    500: '#7c87f2',
    950: '#000000',
  },
}
SCSS
$custom: #7c87f2;
$custom-light: #a8a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87f2",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 234.407,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.1577,
    "h": 276.8
  },
  "luminance": 0.28024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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