#7860F6#7860F6

#7860F6 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.5% C 0.215 H 285.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7860F6
RGBrgb(120, 96, 246)
HSLhsl(250, 89%, 67%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(51.2%, 61%, 0%, 3.5%)
CIE-LABlab(50.70, 47.39, -72.23)
CIE-LCHlch(50.70, 86.39, 303.27°)
OKLaboklab(59.49% 0.056 -0.2071)
OKLCHoklch(59.49% 0.215 285.1)
XYZxyz(28.5582, 19.0111, 89.3356)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860F6 #DEF660
analogous
#6093F6 #7860F6 #C360F6
triadic
#7860F6 #F67860 #60F678
tetradic
#7860F6 #F66093 #DEF660 #60F6C3
square
#7860F6 #F66093 #DEF660 #60F6C3
split-complementary
#7860F6 #F6C360 #93F660
monochromatic
#2B0CD0 #4726F3 #7860F6 #A99AF9 #DAD4FD

Accessibility & contrast

On white

4.37
#7860F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7860F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860F6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860F6#FFFFFF#000000##000000
##7860F61.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFB
Deuteranopia (green-blind)
#0074F3
Tritanopia (blue-blind)
#4684A2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7860f6;
/* rgb */ color: rgb(120, 96, 246);
/* oklch */ color: oklch(59.5% 0.215 285.1);
Tailwind
colors: {
  custom: {
    50: '#a88efa',
    500: '#7860f6',
    950: '#000000',
  },
}
SCSS
$custom: #7860f6;
$custom-light: #a88efa;
$custom-dark: #000000;
JSON
{
  "hex": "#7860f6",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 249.6,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.21452,
    "h": 285.1
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#7860F6
secondary
#E9F1C1
accent
#E600C1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7860F6

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

Preview Lab → · Contrast checker → · Palette generator →

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