#7F86F4#7F86F4

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

Color values

HEX#7F86F4
RGBrgb(127, 134, 244)
HSLhsl(236, 84%, 73%)
HSVhsv(236, 48%, 96%)
CMYKcmyk(48%, 45.1%, 0%, 4.3%)
CIE-LABlab(59.97, 26.08, -56.17)
CIE-LCHlch(59.97, 61.93, 294.91°)
OKLaboklab(66.5% 0.0233 -0.1594)
OKLCHoklch(66.5% 0.161 278.3)
XYZxyz(33.6016, 28.0920, 89.2222)
Luminance0.2809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F86F4 #F4ED7F
analogous
#7FC1F4 #7F86F4 #B27FF4
triadic
#7F86F4 #F47F86 #86F47F
tetradic
#7F86F4 #F47FC1 #F4ED7F #7FF4B2
square
#7F86F4 #F47FC1 #F4ED7F #7FF4B2
split-complementary
#7F86F4 #F4B27F #C1F47F
monochromatic
#1420E5 #4751EF #7F86F4 #B7BBF9 #E3E4FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F86F4#FFFFFF#000000##000000
##7F86F41.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)
#5895F8
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#539DB1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f86f4;
/* rgb */ color: rgb(127, 134, 244);
/* oklch */ color: oklch(66.5% 0.161 278.3);
Tailwind
colors: {
  custom: {
    50: '#aaa9f8',
    500: '#7f86f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f86f4;
$custom-light: #aaa9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f86f4",
  "rgb": {
    "r": 127,
    "g": 134,
    "b": 244
  },
  "hsl": {
    "h": 236.41,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66497,
    "c": 0.16114,
    "h": 278.3
  },
  "luminance": 0.28094
}

Semantic roles & 50–950 ramp

primary
#7F86F4
secondary
#F5F3D6
accent
#D305E1
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #7F86F4

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

Preview Lab → · Contrast checker → · Palette generator →

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