#7D87F2#7D87F2

#7D87F2 is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.4% C 0.157 H 277.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7D87F2
RGBrgb(125, 135, 242)
HSLhsl(235, 82%, 72%)
HSVhsv(235, 48%, 95%)
CMYKcmyk(48.3%, 44.2%, 0%, 5.1%)
CIE-LABlab(59.98, 24.45, -55.07)
CIE-LCHlch(59.98, 60.25, 293.94°)
OKLaboklab(66.43% 0.0197 -0.1562)
OKLCHoklch(66.43% 0.157 277.2)
XYZxyz(33.1435, 28.0968, 87.6640)
Luminance0.2810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F2 #F2E87D
analogous
#7DC2F2 #7D87F2 #AE7DF2
triadic
#7D87F2 #F27D87 #87F27D
tetradic
#7D87F2 #F27DC2 #F2E87D #7DF2AE
square
#7D87F2 #F27DC2 #F2E87D #7DF2AE
split-complementary
#7D87F2 #F2AE7D #C2F27D
monochromatic
#1627DE #4554EC #7D87F2 #B5BAF8 #E3E5FC

Accessibility & contrast

On white

3.17
#7D87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#7D87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F2
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F2#FFFFFF#000000##000000
##7D87F21.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#518CF0
Tritanopia (blue-blind)
#509EB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7d87f2;
/* rgb */ color: rgb(125, 135, 242);
/* oklch */ color: oklch(66.4% 0.157 277.2);
Tailwind
colors: {
  custom: {
    50: '#a9a9f7',
    500: '#7d87f2',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f2;
$custom-light: #a9a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f2",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 234.872,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.15748,
    "h": 277.2
  },
  "luminance": 0.28099
}

Semantic roles & 50–950 ramp

primary
#7D87F2
secondary
#F4F2D7
accent
#CC07DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7D87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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