#7860F2#7860F2

#7860F2 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 59.2% C 0.210 H 285.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7860F2
RGBrgb(120, 96, 242)
HSLhsl(250, 85%, 66%)
HSVhsv(250, 60%, 95%)
CMYKcmyk(50.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(50.41, 46.23, -70.46)
CIE-LCHlch(50.41, 84.27, 303.27°)
OKLaboklab(59.19% 0.0563 -0.2019)
OKLCHoklch(59.19% 0.21 285.6)
XYZxyz(27.9508, 18.7682, 86.1370)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7860F2 #DAF260
analogous
#6091F2 #7860F2 #C160F2
triadic
#7860F2 #F27860 #60F278
tetradic
#7860F2 #F26091 #DAF260 #60F2C1
square
#7860F2 #F26091 #DAF260 #60F2C1
split-complementary
#7860F2 #F2C160 #91F260
monochromatic
#2E10C7 #4827ED #7860F2 #A899F7 #D8D1FB

Accessibility & contrast

On white

4.42
#7860F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7860F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7860F2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7860F2#FFFFFF#000000##000000
##7860F21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#4A83A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7860f2;
/* rgb */ color: rgb(120, 96, 242);
/* oklch */ color: oklch(59.2% 0.210 285.6);
Tailwind
colors: {
  custom: {
    50: '#a88ef7',
    500: '#7860f2',
    950: '#000000',
  },
}
SCSS
$custom: #7860f2;
$custom-light: #a88ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#7860f2",
  "rgb": {
    "r": 120,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 249.863,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59192,
    "c": 0.20956,
    "h": 285.6
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#7860F2
secondary
#E7EFBF
accent
#E104BD
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7860F2

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

Preview Lab → · Contrast checker → · Palette generator →

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