#7D87F3#7D87F3

#7D87F3 is a light, vivid blue. Relative luminance 0.282; OKLCH L 66.5% C 0.159 H 277.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7D87F3
RGBrgb(125, 135, 243)
HSLhsl(235, 83%, 72%)
HSVhsv(235, 49%, 95%)
CMYKcmyk(48.6%, 44.4%, 0%, 4.7%)
CIE-LABlab(60.03, 24.75, -55.53)
CIE-LCHlch(60.03, 60.80, 294.02°)
OKLaboklab(66.49% 0.0198 -0.1576)
OKLCHoklch(66.49% 0.159 277.2)
XYZxyz(33.2941, 28.1571, 88.4571)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87F3 #F3E97D
analogous
#7DC2F3 #7D87F3 #AE7DF3
triadic
#7D87F3 #F37D87 #87F37D
tetradic
#7D87F3 #F37DC2 #F3E97D #7DF3AE
square
#7D87F3 #F37DC2 #F3E97D #7DF3AE
split-complementary
#7D87F3 #F3AE7D #C2F37D
monochromatic
#1526E1 #4553EE #7D87F3 #B5BBF8 #E3E5FC

Accessibility & contrast

On white

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

On black

6.63
#7D87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87F3
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87F3#FFFFFF#000000##000000
##7D87F31.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A96F7
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#4F9EB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7d87f3;
/* rgb */ color: rgb(125, 135, 243);
/* oklch */ color: oklch(66.5% 0.159 277.2);
Tailwind
colors: {
  custom: {
    50: '#a9a9f7',
    500: '#7d87f3',
    950: '#000000',
  },
}
SCSS
$custom: #7d87f3;
$custom-light: #a9a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87f3",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 234.915,
    "s": 83.099,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66489,
    "c": 0.15886,
    "h": 277.2
  },
  "luminance": 0.28159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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