#7D87FA#7D87FA

#7D87FA is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.9% C 0.168 H 277.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D87FA
RGBrgb(125, 135, 250)
HSLhsl(235, 93%, 74%)
HSVhsv(235, 50%, 98%)
CMYKcmyk(50%, 46%, 0%, 2%)
CIE-LABlab(60.42, 26.84, -58.77)
CIE-LCHlch(60.42, 64.61, 294.55°)
OKLaboklab(66.91% 0.0208 -0.1671)
OKLCHoklch(66.91% 0.168 277.1)
XYZxyz(34.3713, 28.5880, 94.1308)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87FA #FAF07D
analogous
#7DC5FA #7D87FA #B17DFA
triadic
#7D87FA #FA7D87 #87FA7D
tetradic
#7D87FA #FA7DC5 #FAF07D #7DFAB1
square
#7D87FA #FA7DC5 #FAF07D #7DFAB1
split-complementary
#7D87FA #FAB17D #C5FA7D
monochromatic
#091CF3 #4251F8 #7D87FA #B8BDFC #E2E4FE

Accessibility & contrast

On white

3.13
#7D87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7D87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87FA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87FA#FFFFFF#000000##000000
##7D87FA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#498DF7
Tritanopia (blue-blind)
#4AA0B4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d87fa;
/* rgb */ color: rgb(125, 135, 250);
/* oklch */ color: oklch(66.9% 0.168 277.1);
Tailwind
colors: {
  custom: {
    50: '#aaa9fc',
    500: '#7d87fa',
    950: '#000000',
  },
}
SCSS
$custom: #7d87fa;
$custom-light: #aaa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87fa",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 235.2,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.16842,
    "h": 277.1
  },
  "luminance": 0.2859
}

Semantic roles & 50–950 ramp

primary
#7D87FA
secondary
#F6F3D5
accent
#D300E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7D87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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