#7F87F1#7F87F1

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

Color values

HEX#7F87F1
RGBrgb(127, 135, 241)
HSLhsl(236, 80%, 72%)
HSVhsv(236, 47%, 95%)
CMYKcmyk(47.3%, 44%, 0%, 5.5%)
CIE-LABlab(60.06, 24.60, -54.37)
CIE-LCHlch(60.06, 59.68, 294.35°)
OKLaboklab(66.51% 0.0217 -0.1542)
OKLCHoklch(66.51% 0.156 278)
XYZxyz(33.2887, 28.1890, 86.8890)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F1 #F1E97F
analogous
#7FC0F1 #7F87F1 #B07FF1
triadic
#7F87F1 #F17F87 #87F17F
tetradic
#7F87F1 #F17FC0 #F1E97F #7FF1B0
square
#7F87F1 #F17FC0 #F1E97F #7FF1B0
split-complementary
#7F87F1 #F1B07F #C0F17F
monochromatic
#1826DD #4853EB #7F87F1 #B6BBF7 #E3E5FC

Accessibility & contrast

On white

3.16
#7F87F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#7F87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F1
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F1#FFFFFF#000000##000000
##7F87F11.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F5
Deuteranopia (green-blind)
#538CEF
Tritanopia (blue-blind)
#559DB0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f87f1;
/* rgb */ color: rgb(127, 135, 241);
/* oklch */ color: oklch(66.5% 0.156 278.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9f6',
    500: '#7f87f1',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f1;
$custom-light: #aaa9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f1",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 235.789,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.1557,
    "h": 278
  },
  "luminance": 0.28191
}

Semantic roles & 50–950 ramp

primary
#7F87F1
secondary
#F4F2D7
accent
#CE09DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7F87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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