#7860F8#7860F8

#7860F8 is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.6% C 0.217 H 284.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7860F8
RGBrgb(120, 96, 248)
HSLhsl(249, 92%, 67%)
HSVhsv(249, 61%, 97%)
CMYKcmyk(51.6%, 61.3%, 0%, 2.7%)
CIE-LABlab(50.84, 47.97, -73.11)
CIE-LCHlch(50.84, 87.45, 303.27°)
OKLaboklab(59.64% 0.0559 -0.2097)
OKLCHoklch(59.64% 0.217 284.9)
XYZxyz(28.8668, 19.1346, 90.9610)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860F8 #E0F860
analogous
#6094F8 #7860F8 #C460F8
triadic
#7860F8 #F87860 #60F878
tetradic
#7860F8 #F86094 #E0F860 #60F8C4
square
#7860F8 #F86094 #E0F860 #60F8C4
split-complementary
#7860F8 #F8C460 #94F860
monochromatic
#2909D4 #4625F5 #7860F8 #AA9BFB #DCD5FD

Accessibility & contrast

On white

4.35
#7860F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7860F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860F8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860F8#FFFFFF#000000##000000
##7860F81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#4585A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7860f8;
/* rgb */ color: rgb(120, 96, 248);
/* oklch */ color: oklch(59.6% 0.217 284.9);
Tailwind
colors: {
  custom: {
    50: '#a98efc',
    500: '#7860f8',
    950: '#000000',
  },
}
SCSS
$custom: #7860f8;
$custom-light: #a98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#7860f8",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 248
  },
  "hsl": {
    "h": 249.474,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.59641,
    "c": 0.21699,
    "h": 284.9
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#7860F8
secondary
#EAF2C2
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7860F8

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

Preview Lab → · Contrast checker → · Palette generator →

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