#7860FE#7860FE

#7860FE is a mid, highly saturated blue. Relative luminance 0.195; OKLCH L 60.1% C 0.224 H 284.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7860FE
RGBrgb(120, 96, 254)
HSLhsl(249, 99%, 69%)
HSVhsv(249, 62%, 100%)
CMYKcmyk(52.8%, 62.2%, 0%, 0.4%)
CIE-LABlab(51.28, 49.71, -75.74)
CIE-LCHlch(51.28, 90.60, 303.28°)
OKLaboklab(60.1% 0.0555 -0.2174)
OKLCHoklch(60.1% 0.224 284.3)
XYZxyz(29.8126, 19.5129, 95.9422)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860FE #E6FE60
analogous
#6097FE #7860FE #C760FE
triadic
#7860FE #FE7860 #60FE78
tetradic
#7860FE #FE6097 #E6FE60 #60FEC7
square
#7860FE #FE6097 #E6FE60 #60FEC7
split-complementary
#7860FE #FEC760 #97FE60
monochromatic
#2401E2 #4423FE #7860FE #AC9DFE #DFDAFF

Accessibility & contrast

On white

4.28
#7860FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7860FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860FE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860FE#FFFFFF#000000##000000
##7860FE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#3F87A6
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7860fe;
/* rgb */ color: rgb(120, 96, 254);
/* oklch */ color: oklch(60.1% 0.224 284.3);
Tailwind
colors: {
  custom: {
    50: '#a98eff',
    500: '#7860fe',
    950: '#000000',
  },
}
SCSS
$custom: #7860fe;
$custom-light: #a98eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7860fe",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 254
  },
  "hsl": {
    "h": 249.114,
    "s": 98.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.22433,
    "h": 284.3
  },
  "luminance": 0.19515
}

Semantic roles & 50–950 ramp

primary
#7860FE
secondary
#EDF4C5
accent
#E600C3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7860FE

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

Preview Lab → · Contrast checker → · Palette generator →

#7860FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva