#7860F0#7860F0

#7860F0 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.207 H 285.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7860F0
RGBrgb(120, 96, 240)
HSLhsl(250, 83%, 66%)
HSVhsv(250, 60%, 94%)
CMYKcmyk(50%, 60%, 0%, 5.9%)
CIE-LABlab(50.27, 45.65, -69.57)
CIE-LCHlch(50.27, 83.21, 303.27°)
OKLaboklab(59.04% 0.0564 -0.1992)
OKLCHoklch(59.04% 0.207 285.8)
XYZxyz(27.6521, 18.6487, 84.5637)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860F0 #D8F060
analogous
#6090F0 #7860F0 #C060F0
triadic
#7860F0 #F07860 #60F078
tetradic
#7860F0 #F06090 #D8F060 #60F0C0
square
#7860F0 #F06090 #D8F060 #60F0C0
split-complementary
#7860F0 #F0C060 #90F060
monochromatic
#3012C3 #4928EB #7860F0 #A798F5 #D7D0FB

Accessibility & contrast

On white

4.44
#7860F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7860F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860F0
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860F0#FFFFFF#000000##000000
##7860F01.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#4B829F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7860f0;
/* rgb */ color: rgb(120, 96, 240);
/* oklch */ color: oklch(59.0% 0.207 285.8);
Tailwind
colors: {
  custom: {
    50: '#a88ef6',
    500: '#7860f0',
    950: '#000000',
  },
}
SCSS
$custom: #7860f0;
$custom-light: #a88ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#7860f0",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 240
  },
  "hsl": {
    "h": 250,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.20707,
    "h": 285.8
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#7860F0
secondary
#E6EEBE
accent
#DF06BB
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7860F0

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

Preview Lab → · Contrast checker → · Palette generator →

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