#7D87F0#7D87F0

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

Color values

HEX#7D87F0
RGBrgb(125, 135, 240)
HSLhsl(235, 79%, 72%)
HSVhsv(235, 48%, 94%)
CMYKcmyk(47.9%, 43.8%, 0%, 5.9%)
CIE-LABlab(59.87, 23.85, -54.13)
CIE-LCHlch(59.87, 59.15, 293.78°)
OKLaboklab(66.31% 0.0194 -0.1535)
OKLCHoklch(66.31% 0.155 277.2)
XYZxyz(32.8447, 27.9773, 86.0907)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F0 #F0E67D
analogous
#7DC1F0 #7D87F0 #AD7DF0
triadic
#7D87F0 #F07D87 #87F07D
tetradic
#7D87F0 #F07DC1 #F0E67D #7DF0AD
square
#7D87F0 #F07DC1 #F0E67D #7DF0AD
split-complementary
#7D87F0 #F0AD7D #C1F07D
monochromatic
#192ADA #4654EA #7D87F0 #B4BAF6 #E4E6FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D87F0#FFFFFF#000000##000000
##7D87F01.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)
#5C95F4
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#519DB0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d87f0;
/* rgb */ color: rgb(125, 135, 240);
/* oklch */ color: oklch(66.3% 0.155 277.2);
Tailwind
colors: {
  custom: {
    50: '#a9a9f5',
    500: '#7d87f0',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f0;
$custom-light: #a9a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f0",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 234.783,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66313,
    "c": 0.15474,
    "h": 277.2
  },
  "luminance": 0.27979
}

Semantic roles & 50–950 ramp

primary
#7D87F0
secondary
#F3F1D6
accent
#C90ADC
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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