#7F87F2#7F87F2

#7F87F2 is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.6% C 0.157 H 278.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7F87F2
RGBrgb(127, 135, 242)
HSLhsl(236, 82%, 72%)
HSVhsv(236, 48%, 95%)
CMYKcmyk(47.5%, 44.2%, 0%, 5.1%)
CIE-LABlab(60.11, 24.90, -54.84)
CIE-LCHlch(60.11, 60.23, 294.42°)
OKLaboklab(66.57% 0.0219 -0.1555)
OKLCHoklch(66.57% 0.157 278)
XYZxyz(33.4385, 28.2489, 87.6778)
Luminance0.2825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F87F2 #F2EA7F
analogous
#7FC1F2 #7F87F2 #B17FF2
triadic
#7F87F2 #F27F87 #87F27F
tetradic
#7F87F2 #F27FC1 #F2EA7F #7FF2B1
square
#7F87F2 #F27FC1 #F2EA7F #7FF2B1
split-complementary
#7F87F2 #F2B17F #C1F27F
monochromatic
#1725E0 #4753EC #7F87F2 #B7BBF8 #E3E5FC

Accessibility & contrast

On white

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

On black

6.65
#7F87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F87F2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F87F2#FFFFFF#000000##000000
##7F87F21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#549EB1
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f87f2;
/* rgb */ color: rgb(127, 135, 242);
/* oklch */ color: oklch(66.6% 0.157 278.0);
Tailwind
colors: {
  custom: {
    50: '#aaa9f7',
    500: '#7f87f2',
    950: '#000000',
  },
}
SCSS
$custom: #7f87f2;
$custom-light: #aaa9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f87f2",
  "rgb": {
    "r": 127,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 235.826,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.15708,
    "h": 278
  },
  "luminance": 0.28251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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